diff options
| -rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/lookup17.C | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup17.C b/gcc/testsuite/g++.old-deja/g++.other/lookup17.C index a367413..6a7510a 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/lookup17.C +++ b/gcc/testsuite/g++.old-deja/g++.other/lookup17.C @@ -1,13 +1,14 @@ +// Bug: t->B is resolved to the type instead of the field. + struct A { struct B { } *B; int i, j, k, l, m; }; -struct A *t; +struct A a; int main () { - void *p = t - ->B; + void *p = a.B; } |
