[cfe-commits] r89260 - /cfe/trunk/test/Parser/objc-synthesized-recover.m

Douglas Gregor dgregor at apple.com
Wed Nov 18 14:37:38 PST 2009


Author: dgregor
Date: Wed Nov 18 16:37:38 2009
New Revision: 89260

URL: http://llvm.org/viewvc/llvm-project?rev=89260&view=rev
Log:
Test case for parsing-recovery change to @synthesized

Added:
    cfe/trunk/test/Parser/objc-synthesized-recover.m

Added: cfe/trunk/test/Parser/objc-synthesized-recover.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-synthesized-recover.m?rev=89260&view=auto

==============================================================================
--- cfe/trunk/test/Parser/objc-synthesized-recover.m (added)
+++ cfe/trunk/test/Parser/objc-synthesized-recover.m Wed Nov 18 16:37:38 2009
@@ -0,0 +1,15 @@
+// RUN: clang-cc -fsyntax-only -verify %s
+
+ at interface I1 
+{
+  int value;
+  int value2;
+}
+ at property int value;
+ at property int value2;
+ at end
+
+ at implementation I1
+ at synthesize value, - value2; // expected-error{{expected a property name}}
+ at synthesize value2;
+ at end





More information about the cfe-commits mailing list