Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / objc.dg / two-types-1.m
blobb2370b7eefdd390273b00b64393008a0cdb0489a
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
4 @interface foo
5 struct f {}
6 struct g { int a; }; /* { dg-error "expected ';', identifier or " } */
8 - (struct f *) a;
9 - (struct g *) b;
10 @end
12 int f(struct g *x)
14   return x->a; /* { dg-bogus " has no member " } */