[LLVMbugs] [Bug 13415] New: Imaginary literals implicitly convert to int without warning or error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 19 21:17:31 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13415

             Bug #: 13415
           Summary: Imaginary literals implicitly convert to int without
                    warning or error
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Nicos-MacBook-Pro:src thakis$ cat foo.cc
int main() {
  int k = 1i;
}
Nicos-MacBook-Pro:src thakis$ clang foo.cc -o foo
# No diagnostic


This looks wrong to me.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list