summaryrefslogtreecommitdiffstats
path: root/clang
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
commitf7168395806ba2b676150c4a025830ca47adb1c6 (patch)
treeaa3f4f159b984e0ab617ec54f98f6997c2a9cbc3 /clang
parent783ffde6d3f0eef6c4e7510c14a3b9f78dd2a327 (diff)
downloadbcm5719-llvm-f7168395806ba2b676150c4a025830ca47adb1c6.tar.gz
bcm5719-llvm-f7168395806ba2b676150c4a025830ca47adb1c6.zip
Test case for my previous patch.
llvm-svn: 147563
Diffstat (limited to 'clang')
-rw-r--r--clang/test/SemaObjC/default-synthesize-3.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/default-synthesize-3.m b/clang/test/SemaObjC/default-synthesize-3.m
index 8616404028d..6eff68e20cd 100644
--- a/clang/test/SemaObjC/default-synthesize-3.m
+++ b/clang/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
OpenPOWER on IntegriCloud