summaryrefslogtreecommitdiff
path: root/test/SemaObjC/special-dep-unavail-warning.m
diff options
context:
space:
mode:
authorMartin Bohme <mboehme@google.com>2017-03-22 13:34:37 +0000
committerMartin Bohme <mboehme@google.com>2017-03-22 13:34:37 +0000
commitd29393efed93fd291655ab02a4ebf42922c9a554 (patch)
tree4bb8571b981c63b6ee8db058f1b2f55382bea131 /test/SemaObjC/special-dep-unavail-warning.m
parentf676817f1138aa0da898de0819b25ca447371c56 (diff)
Revert "Correct class-template deprecation behavior"
This reverts commit r298410 (which produces incorrect warnings, see comments on https://reviews.llvm.org/rL298410). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/special-dep-unavail-warning.m')
-rw-r--r--test/SemaObjC/special-dep-unavail-warning.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/special-dep-unavail-warning.m b/test/SemaObjC/special-dep-unavail-warning.m
index b667c3c51c..9e16b331c2 100644
--- a/test/SemaObjC/special-dep-unavail-warning.m
+++ b/test/SemaObjC/special-dep-unavail-warning.m
@@ -44,8 +44,8 @@ void test(C *c) {
}
// rdar://10268422
-__attribute ((deprecated)) // expected-note {{'DEPRECATED' has been explicitly marked deprecated here}}
-@interface DEPRECATED
+__attribute ((deprecated))
+@interface DEPRECATED // expected-note {{'DEPRECATED' has been explicitly marked deprecated here}}
+(id)new;
@end