diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/using5.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/using5.C | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/using5.C b/gcc/testsuite/g++.old-deja/g++.other/using5.C new file mode 100644 index 000000000..672530199 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/using5.C @@ -0,0 +1,15 @@ +// { dg-do assemble } + +// Based on bug report by Klaus-Georg Adams +// <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> + +struct bar { + typedef bar t; +}; + +struct foo : bar { + using bar::t; + t field; + t meth(); + void baz(t arg); +}; |