http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55446
--- Comment #9 from Harald van Dijk <harald at gigawatt dot nl> 2012-11-24
11:27:25 UTC ---
Ah, okay, an alternative compile-only testcase that does not rely on particular
warnings would be
struct S { S(); };
__typeof__(new S[0]) s;
test.cc:2:23: error: invalid type in declaration before ';' token
but if you've already got a good testcase, sure, go with that :)
