[cfe-commits] r147563 - /cfe/trunk/test/SemaObjC/default-synthesize-3.m

Fariborz Jahanian fjahanian at apple.com
Wed Jan 4 15:16:49 PST 2012


Author: fjahanian
Date: Wed Jan  4 17:16:48 2012
New Revision: 147563

URL: http://llvm.org/viewvc/llvm-project?rev=147563&view=rev
Log:
Test case for my previous patch.

Modified:
    cfe/trunk/test/SemaObjC/default-synthesize-3.m

Modified: cfe/trunk/test/SemaObjC/default-synthesize-3.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/default-synthesize-3.m?rev=147563&r1=147562&r2=147563&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/default-synthesize-3.m (original)
+++ cfe/trunk/test/SemaObjC/default-synthesize-3.m Wed Jan  4 17:16:48 2012
@@ -4,7 +4,7 @@
 #if __has_attribute(objc_suppress_autosynthesis)
 __attribute ((objc_suppress_autosynthesis)) 
 #endif
- at interface NoAuto
+ at interface NoAuto // expected-note 2 {{class with specified objc_suppress_autosynthesis attribute is declared here}}
 @property int NoAutoProp; // expected-note 2 {{property declared here}}
 @end
 
@@ -13,7 +13,7 @@
 @end
 
 __attribute ((objc_suppress_autosynthesis))  // redundant, just for testing
- at interface Sub : NoAuto 
+ at interface Sub : NoAuto  // expected-note 3 {{class with specified objc_suppress_autosynthesis attribute is declared here}}
 @property (copy) id SubProperty; // expected-note 2 {{property declared here}}
 @end
 





More information about the cfe-commits mailing list