summaryrefslogtreecommitdiff
path: root/gcc_arm/testsuite/g++.old-deja/g++.other/using5.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.other/using5.C')
-rwxr-xr-xgcc_arm/testsuite/g++.old-deja/g++.other/using5.C17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.other/using5.C b/gcc_arm/testsuite/g++.old-deja/g++.other/using5.C
new file mode 100755
index 0000000..57a9507
--- /dev/null
+++ b/gcc_arm/testsuite/g++.old-deja/g++.other/using5.C
@@ -0,0 +1,17 @@
+// Build don't link:
+
+// Based on bug report by Klaus-Georg Adams
+// <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
+
+// crash test - XFAIL *-*-*
+
+struct bar {
+ typedef bar t;
+};
+
+struct foo : bar {
+ using bar::t;
+ t field;
+ t meth();
+ void baz(t arg);
+};