]> granicus.if.org Git - clang/commitdiff
Update test case (we were missing a warning here)
authorDaniel Dunbar <daniel@zuster.org>
Wed, 27 Aug 2008 05:41:04 +0000 (05:41 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 27 Aug 2008 05:41:04 +0000 (05:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55408 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaObjC/property-1.m

index 3bc2e3386b00fe71e2d0506c8f95bff9d834d44f..6cdf8de0211dda83ac3545a32ed245d967f39ce2 100644 (file)
@@ -22,7 +22,7 @@
 @synthesize name;      // OK! property with same name as an accessible ivar of same name
 @end
 
-@implementation I(CAT)
+@implementation I(CAT)  // expected-warning {{incomplete implementation}}, expected-warning {{method definition for 'd1' not found}}, // expected-warning {{method definition for 'setD1:' not found}} 
 @synthesize d1;                // expected-error {{@synthesize not allowed in a category's implementation}}
 @dynamic bad;          // expected-error {{property implementation must have its declaration in the category 'CAT'}}
 @end