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

            Bug ID: 22056
           Summary: Designated initializer with 'this' as array index
                    crashes GCC and clang
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

consider:
template <typename> struct A {
    int a6[1] { [this] = 1 };
};
A<int> 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