From-SVN: r31268
This commit is contained in:
Jason Merrill 2000-01-07 00:57:58 -05:00
parent 373a9956d8
commit ea5d313a8e

View File

@ -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;
}