summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/property/property-neg-1.m
blob: cae1a56154dfdef27ccdd61197d5a920266c8859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */

@interface Bar
{
  int iVar;
}
@property int fooBar;
@end

@implementation Bar
@end /* { dg-warning "incomplete implementation of class .Bar." } */
     /* { dg-warning "method definition for .-setFooBar:. not found" "" { target *-*-* } 11 } */
     /* { dg-warning "method definition for .-fooBar. not found" "" { target *-*-* } 11 } */