[LLVMbugs] [Bug 22056] New: Designated initializer with 'this' as array index crashes GCC and clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 29 18:06:17 PST 2014


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: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141230/ce3e95bf/attachment.html>


More information about the llvm-bugs mailing list