------- Comment #1 from paolo dot carlini at oracle dot com 2008-07-03 09:52 ------- Not a bug: in C++98 local types are not allowed as template arguments. Just move the anonymous struct and Z before the main.
-- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36715