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

             Bug #: 12488
           Summary: decltype can be used in C++03 with no errors, no
                    warnings
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


For example, the following code compiles fine with no errors, no warnings: 

int main (int argc, char* argv[])
{
    decltype(0) i = 0;
    return i;
}

I'm using r154014.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to