Test case for my previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147563 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaObjC/default-synthesize-3.m b/test/SemaObjC/default-synthesize-3.m
index 8616404..6eff68e 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 @@
@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