reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git] / gcc / testsuite / obj-c++.dg / naming-3.mm
blobdda15fc68bed8c81b699cac8182a5b4f31faef77
1 /* Testing for detecting duplicate ivars. */
2 /* { dg-do compile } */
4 @interface A 
6   char x; /* { dg-message "previous declaration" } */
7   char x;
8 } /* { dg-error "redeclaration" } */
9 @end
11 @interface B : A
13   char y;
15 @end