http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50308
--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> 2012-02-02 10:59:40 UTC --- Comment on attachment 26551 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26551 test-case > // The original reported fault... > A (x); // { dg-bogus ".A. is deprecated .declared at .*pr50308-1.C:4." "" } duh, wrong version attached should be: A (x); // { dg-bogus ".void A.int.. is deprecated .declared at.*pr50308-1.C:4." "" }