[LLVMbugs] [Bug 10154] New: clang rejects a constructor if the first parameter uses decltype()

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jun 18 23:28:28 PDT 2011


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

           Summary: clang rejects a constructor if the first parameter
                    uses decltype()
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pichet2000 at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com,
                    pichet2000 at gmail.com


clang rejects the following C++0x, I believe it is valid:


class A{
    A(decltype(nullptr) param);
};

-- 
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