[LLVMbugs] [Bug 7507] poor diagnostic for declaring struct with use of 'new'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 21 18:48:49 PDT 2013


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

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> ---
On trunk:

<stdin>:2:14: error: 'S' can not be defined in a type specifier
  new struct S { int x; };
             ^
1 error generated.

-- 
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/20130822/2b298f18/attachment.html>


More information about the llvm-bugs mailing list