[llvm-commits] [llvm] r43252 - /llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m
Chris Lattner
sabre at nondot.org
Tue Oct 23 11:07:23 PDT 2007
Author: lattner
Date: Tue Oct 23 13:07:23 2007
New Revision: 43252
URL: http://llvm.org/viewvc/llvm-project?rev=43252&view=rev
Log:
new testcase
Added:
llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m
Added: llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m?rev=43252&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m (added)
+++ llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m Tue Oct 23 13:07:23 2007
@@ -0,0 +1,9 @@
+// RUN: %llvmgcc -x objective-c -c %s -o /dev/null -fobjc-gc
+// rdar://5541393
+
+typedef unsigned int NSUInteger;
+__attribute__((objc_gc(strong))) float *_scores;
+
+void foo(int i, float f) {
+ _scores[i] = f;
+}
More information about the llvm-commits
mailing list