[llvm-commits] [llvm] r127304 - /llvm/trunk/test/FrontendObjC/2011-03-08-IVarLookup.m

Bill Wendling isanbard at gmail.com
Tue Mar 8 17:05:00 PST 2011


Author: void
Date: Tue Mar  8 19:05:00 2011
New Revision: 127304

URL: http://llvm.org/viewvc/llvm-project?rev=127304&view=rev
Log:
Testcase for r127301.

Added:
    llvm/trunk/test/FrontendObjC/2011-03-08-IVarLookup.m

Added: llvm/trunk/test/FrontendObjC/2011-03-08-IVarLookup.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2011-03-08-IVarLookup.m?rev=127304&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC/2011-03-08-IVarLookup.m (added)
+++ llvm/trunk/test/FrontendObjC/2011-03-08-IVarLookup.m Tue Mar  8 19:05:00 2011
@@ -0,0 +1,32 @@
+// RUN: %llvmgcc -x objective-c -S -fobjc-abi-version=2 %s -o /dev/null
+// XFAIL: *
+// XTARGET: darwin
+
+typedef unsigned int UInt_t;
+
+ at interface A
+{
+ at protected
+  UInt_t _f1;
+}
+ at end
+
+ at interface B : A { }
+ at end
+
+ at interface A ()
+ at property (assign) UInt_t f1;
+ at end
+
+ at interface B ()
+ at property (assign) int x;
+ at end
+
+ at implementation B
+ at synthesize x;
+- (id) init
+{
+  _f1 = 0;
+  return self;
+}
+ at end





More information about the llvm-commits mailing list