summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/attr-nodebug.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/attr-nodebug.m')
-rw-r--r--clang/test/SemaObjC/attr-nodebug.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/attr-nodebug.m b/clang/test/SemaObjC/attr-nodebug.m
new file mode 100644
index 00000000000..7cf8e6cfbc8
--- /dev/null
+++ b/clang/test/SemaObjC/attr-nodebug.m
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
+@interface NSObject
+- (void)doSomething __attribute__((nodebug));
+@end
OpenPOWER on IntegriCloud