aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/lookup17.C13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup17.C b/gcc/testsuite/g++.old-deja/g++.other/lookup17.C
new file mode 100644
index 0000000..a367413
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/lookup17.C
@@ -0,0 +1,13 @@
+struct A {
+ struct B { } *B;
+ int i, j, k, l, m;
+};
+
+struct A *t;
+
+int
+main ()
+{
+ void *p = t
+ ->B;
+}