[llvm-bugs] [Bug 36157] Crash when building .c file containing C++ code

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 1 12:02:27 PST 2018


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Reduced to a rejects-valid:

  struct A { int n : 1 ? 1 : f(); };

(Well, valid-ish, C89 is not entirely clear about what such code would mean.)

Fixed in r323998.

-- 
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/20180201/e258cd23/attachment.html>


More information about the llvm-bugs mailing list