]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
New testcase from PR #3816
authorGabriel Dos Reis <gdr@gcc.gnu.org>
Mon, 13 Aug 2001 13:59:49 +0000 (13:59 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Mon, 13 Aug 2001 13:59:49 +0000 (13:59 +0000)
From-SVN: r44850

gcc/testsuite/g++.dg/other/anon-struct.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/other/anon-struct.C b/gcc/testsuite/g++.dg/other/anon-struct.C
new file mode 100644 (file)
index 0000000..d045910
--- /dev/null
@@ -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 *-*-* } }
+}