[Bug c++/36749] sizeof returns 0 for class

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 7 14:25:00 GMT 2008



------- Comment #2 from paolo dot carlini at oracle dot com  2008-07-07 14:24 -------
The problem is one of diagnostic: the code should be just rejected because Foo
is an incomplete type.


-- 


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



More information about the Gcc-bugs mailing list