summaryrefslogtreecommitdiffstats
path: root/test/Parser/objc-init.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/objc-init.m')
-rw-r--r--test/Parser/objc-init.m18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Parser/objc-init.m b/test/Parser/objc-init.m
index a91ac9c..bc88e33 100644
--- a/test/Parser/objc-init.m
+++ b/test/Parser/objc-init.m
@@ -39,3 +39,21 @@ void test5(NSNumber *x) {
.x [x METH2] // expected-error {{expected '=' or another designator}}
};
}
+
+// rdar://7370882
+@interface SemicolonsAppDelegate
+{
+ id i;
+}
+@property (assign) id window;
+@end
+
+@implementation SemicolonsAppDelegate
+{
+ id i;
+}
+ @synthesize window=i;
+@end
+
+
+
OpenPOWER on IntegriCloud