summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-07 00:06:44 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-07 00:06:44 +0000
commit485b043bb20973fe7095e9cf71803f331da18a34 (patch)
treec2ea50ea00fffec0f3c5e14c29df34b813b4a689 /gcc
parent7a305f8eeab30bde77320e0aaafc32c20841527a (diff)
downloadgcc-485b043bb20973fe7095e9cf71803f331da18a34.tar.gz
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31263 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 00000000000..a367413e429
--- /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;
+}