[llvm-bugs] [Bug 28928] New: GNU StmtExpr + Lambda Initializer + Local class = Crash

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 10 11:38:12 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28928

            Bug ID: 28928
           Summary: GNU StmtExpr + Lambda Initializer + Local class =
                    Crash
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: erik.pilkington at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The following causes Clang trunk to crash:

int f() {
  struct A {
    int m = ({ [&]() { int x = m; }(); });
  };
}

-- 
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/20160810/cb6913e6/attachment.html>


More information about the llvm-bugs mailing list