[LLVMbugs] [Bug 22240] New: Implicit default ctor friend

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 15 04:21:48 PST 2015


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

            Bug ID: 22240
           Summary: Implicit default ctor friend
           Product: clang
           Version: 3.4
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: alexey.kudinkin at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

struct X
{
    //X();  // uncommenting this eliminates the problem
    void foo();
};

struct Y
{
    friend void X::foo();
    friend X::X();  // 3.4.1 complains about non-constexpr declaration
following constexpr one
    friend X::~X();
};

-- 
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/20150115/e4351962/attachment.html>


More information about the llvm-bugs mailing list