OSDN Git Service

Remove gcc.target/arm/ivopts-6.c, didn't happen with patch.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / obj-c++.dg / naming-3.mm
1 /* Testing for detecting duplicate ivars. */
2 /* { dg-do compile } */
3
4 @interface A 
5 {
6   char x; /* { dg-error "conflicts" } */
7   char x;
8 } /* { dg-error "declaration" } */
9 @end
10
11 @interface B : A
12 {
13   char y;
14 }
15 @end