]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
New testcase from PR #3816
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Aug 2001 13:59:49 +0000 (13:59 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Aug 2001 13:59:49 +0000 (13:59 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44850 138bc75d-0d04-0410-961f-82ee72b054a4

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 *-*-* } }
+}