]> granicus.if.org Git - clang/commitdiff
Testcase for last fix.
authorMike Stump <mrs@apple.com>
Fri, 6 Mar 2009 06:35:21 +0000 (06:35 +0000)
committerMike Stump <mrs@apple.com>
Fri, 6 Mar 2009 06:35:21 +0000 (06:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66258 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/blocks-1.c

index fbc45236aa47273286501a39913f2ee7422b6954..b1f9d9bcdfa570f47747b1b2ef56c89210ae1960 100644 (file)
@@ -1,10 +1,12 @@
 // RUN: clang %s -emit-llvm -o %t -fblocks -f__block &&
-// RUN: grep "_Block_object_dispose" %t | count 5 &&
+// RUN: grep "_Block_object_dispose" %t | count 6 &&
 // RUN: grep "__copy_helper_block_" %t | count 6 &&
 // RUN: grep "__destroy_helper_block_" %t | count 6 &&
 // RUN: grep "__Block_byref_id_object_copy_" %t | count 2 &&
 // RUN: grep "__Block_byref_id_object_dispose_" %t | count 2 &&
-// RUN: grep "i32 135)" %t | count 1
+// RUN: grep "i32 135)" %t | count 2 &&
+// RUN: grep "_Block_object_assign" %t | count 2
+
 #include <stdio.h>
 
 void test1() {