[LLVMbugs] [Bug 10329] assertion failure on invalid combination of late-specified return type and 'new'.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Oct 10 12:02:08 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10329
Douglas Gregor <dgregor at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2011-10-10 14:02:07 CDT ---
We no longer assert here:
t.cpp:1:25: error: cannot allocate function type 'int ()' with new
void f() { new (auto()->int); }
^~~
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list