summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/pedantic-dynamic-test.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/pedantic-dynamic-test.m')
-rw-r--r--clang/test/SemaObjC/pedantic-dynamic-test.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/pedantic-dynamic-test.m b/clang/test/SemaObjC/pedantic-dynamic-test.m
new file mode 100644
index 0000000..61f36b3
--- /dev/null
+++ b/clang/test/SemaObjC/pedantic-dynamic-test.m
@@ -0,0 +1,16 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -Wno-objc-root-class %s
+// rdar: // 7860960
+
+@interface I
+{
+ int window;
+}
+@property int window, noWarningNeeded;
+@end
+
+@implementation I
+
+@synthesize window;
+
+@dynamic noWarningNeeded;
+@end