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