From: gdr Date: Mon, 13 Aug 2001 13:59:49 +0000 (+0000) Subject: New testcase from PR #3816 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a79cc3cdfbd995b4da93342aab87a611b0e910df;p=thirdparty%2Fgcc.git New testcase from PR #3816 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44850 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 *-*-* } } +}