From: Gabriel Dos Reis Date: Mon, 13 Aug 2001 13:59:49 +0000 (+0000) Subject: New testcase from PR #3816 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=160fb9bc16f709eaa4a1c3b28d151118d44097d1;p=gcc.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 00000000000..d045910cc3f --- /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 *-*-* } } +}