mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 05:58:53 +08:00
fix
From-SVN: r31268
This commit is contained in:
parent
373a9956d8
commit
ea5d313a8e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user