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

            Bug ID: 22071
           Summary: [Regression] Clang crashes while generating LLVM IR
                    for lambda when using local constexpr reference
                    variable
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: compile-fail, regression
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Minimal code example:

int x;

int main() {
  constexpr int& y = x;
  [=] { y; }();
}

The code was accepted in 3.5.

-- 
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