[LLVMbugs] [Bug 21940] New: parser segfault on invalid return type (compound statement)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 17 09:36:18 PST 2014


            Bug ID: 21940
           Summary: parser segfault on invalid return type (compound
           Product: clang
           Version: 3.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: qigopsrtv at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13555
  --> http://llvm.org/bugs/attachment.cgi?id=13555&action=edit
error output

the following line of code causes a segfault whith -std=c++11 enabled:

const int (&test())[3] { return {{1, 2, 3}}; }

Using clang 3.5.0 on Archlinux.

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/20141217/866f4a23/attachment.html>

More information about the llvm-bugs mailing list