[llvm-bugs] [Bug 27055] Clang compiles a return statement with an expression in a void function (illegal under C90 6.6.6.4) with -std=c90 -pedantic

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 19 15:54:46 PDT 2016


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

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

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

--- Comment #3 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Closing; we don't consider this to be an accepts-invalid as we do reject under
-pedantic-errors.

-- 
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/20160419/0c1385be/attachment-0001.html>


More information about the llvm-bugs mailing list