Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/lookup17.C

raw
1 // { dg-do run }
2 // Bug: t->B is resolved to the type instead of the field.
3
4 struct A {
5 struct B { } *B;
6 int i, j, k, l, m;
7 };
8
9 struct A a;
10
11 int
12 main ()
13 {
14 void *p = a.B;
15 }