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

             Bug #: 12224
           Summary: Inherited constructor implementation is completely
                    broken
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++0x
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Testcase:

template<typename T> struct A { A(int) { *(T)0; } virtual ~A(); };
struct B : A<int> { using A::A; ~B(); };
B b(10); 

This should clearly give an error; we don't give an error because we never
actually synthesize a definition for B::B(int).

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