[LLVMbugs] [Bug 18307] New: PCH and inherited constructors

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Dec 22 08:04:05 PST 2013


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

            Bug ID: 18307
           Summary: PCH and inherited constructors
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mustrumr97 at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Constructors are not inherited from precompiled headers.

Header:
    struct A{
        A(int);
    };
    struct B:A{
        using A::A;
    };
Source:
    B x{42};

This bug affects modules as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131222/3a6b6d7a/attachment.html>


More information about the llvm-bugs mailing list