------- Comment #2 from fabien dot chene at gmail dot com  2010-03-30 08:22 
-------
is it still invalid in c++0X ?
5.3.4.15 has been revamped, and I no longer find a motif to reject such code.

I think the following code is also invalid, according to 8.5.6 (c++03) / 8.5.8
(c++0x):

struct A { int& i; };
void f () { new A; }

I have a patch to fix both issues.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25811

Reply via email to