diff options
author | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-08-13 13:59:49 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-08-13 13:59:49 +0000 |
commit | 160fb9bc16f709eaa4a1c3b28d151118d44097d1 (patch) | |
tree | a306a6493942fd82016ac99e3f03ce43dbb6f742 /gcc | |
parent | fe45ab59cade9d174745e66a9daaae828645cf6b (diff) | |
download | gcc-160fb9bc16f709eaa4a1c3b28d151118d44097d1.zip gcc-160fb9bc16f709eaa4a1c3b28d151118d44097d1.tar.gz gcc-160fb9bc16f709eaa4a1c3b28d151118d44097d1.tar.bz2 |
New testcase from PR #3816
From-SVN: r44850
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/other/anon-struct.C | 9 |
1 files changed, 9 insertions, 0 deletions
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 0000000..d045910 --- /dev/null +++ b/gcc/testsuite/g++.dg/other/anon-struct.C @@ -0,0 +1,9 @@ +// Contributed by Gabriel Dos Reis <gdr@codesourcery.com> +// { dg-do compile } + +namespace N { } + +namespace M +{ + typedef struct { } N; // { dg-bogus ".*" "" { xfail *-*-* } } +} |