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; 
+}


_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to