diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-06 21:48:47 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-06 21:48:47 +0000 |
commit | 95239110cd49240b36d4922969a6e01220a72906 (patch) | |
tree | 609df26e4bdab4c461e08bc37023d6592f2b3be0 /clang/test/Parser | |
parent | ce99780980eeb0514c729a50ea17ba720d809703 (diff) | |
download | bcm5719-llvm-95239110cd49240b36d4922969a6e01220a72906.tar.gz bcm5719-llvm-95239110cd49240b36d4922969a6e01220a72906.zip |
Fix a bogus objective-c warning with -pedantic.
(radar 7370882).
llvm-svn: 86291
Diffstat (limited to 'clang/test/Parser')
-rw-r--r-- | clang/test/Parser/objc-init.m | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/clang/test/Parser/objc-init.m b/clang/test/Parser/objc-init.m index a91ac9cf285..6d6b3827d73 100644 --- a/clang/test/Parser/objc-init.m +++ b/clang/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; +@end + + + |