aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-01-04 23:16:48 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-01-04 23:16:48 +0000
commite5e42ae2694f2c4709dac3d84e3e6e5fac86c244 (patch)
tree415cffe23248f9dd06a71723bcfaa2d01e35305a
parentda611a74c408af0f9526acc690b85214bf180852 (diff)
Test case for my previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147563 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaObjC/default-synthesize-3.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/default-synthesize-3.m b/test/SemaObjC/default-synthesize-3.m
index 8616404028..6eff68e20c 100644
--- a/test/SemaObjC/default-synthesize-3.m
+++ b/test/SemaObjC/default-synthesize-3.m
@@ -4,7 +4,7 @@
#if __has_attribute(objc_suppress_autosynthesis)
__attribute ((objc_suppress_autosynthesis))
#endif
-@interface NoAuto
+@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 @@ __attribute ((objc_suppress_autosynthesis))
@end
__attribute ((objc_suppress_autosynthesis)) // redundant, just for testing
-@interface Sub : NoAuto
+@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