[LLVMbugs] [Bug 11754] New: clang allows declaring constexpr instance function on type with virtual base

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 12 18:40:24 PST 2012


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

             Bug #: 11754
           Summary: clang allows declaring constexpr instance function on
                    type with virtual base
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu,
                    richard-llvm at metafoo.co.uk
    Classification: Unclassified


Testcase:

struct A {};
struct B : virtual A { constexpr int a(); }

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