From: Gabriel Dos Reis Date: Mon, 13 Aug 2001 13:59:49 +0000 (+0000) Subject: New testcase from PR #3816 X-Git-Tag: prereleases/libstdc++-3.0.95~2687 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=160fb9bc16f709eaa4a1c3b28d151118d44097d1;p=thirdparty%2Fgcc.git New testcase from PR #3816 From-SVN: r44850 --- diff --git a/gcc/testsuite/g++.dg/other/anon-struct.C b/gcc/testsuite/g++.dg/other/anon-struct.C new file mode 100644 index 000000000000..d045910cc3f2 --- /dev/null +++ b/gcc/testsuite/g++.dg/other/anon-struct.C @@ -0,0 +1,9 @@ +// Contributed by Gabriel Dos Reis +// { dg-do compile } + +namespace N { } + +namespace M +{ + typedef struct { } N; // { dg-bogus ".*" "" { xfail *-*-* } } +}