diff options
| author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-13 13:59:49 +0000 |
|---|---|---|
| committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-13 13:59:49 +0000 |
| commit | a79cc3cdfbd995b4da93342aab87a611b0e910df (patch) | |
| tree | a306a6493942fd82016ac99e3f03ce43dbb6f742 | |
| parent | aafd3b39c4a3f3cde7f70e357fc4953226446c4e (diff) | |
| download | ppe42-gcc-a79cc3cdfbd995b4da93342aab87a611b0e910df.tar.gz ppe42-gcc-a79cc3cdfbd995b4da93342aab87a611b0e910df.zip | |
New testcase from PR #3816
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44850 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 00000000000..d045910cc3f --- /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 *-*-* } } +} |

