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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to