From: Mike Stump Date: Fri, 6 Mar 2009 06:35:21 +0000 (+0000) Subject: Testcase for last fix. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80bd206870d5e4f959d203ae03e2aa345f67cf89;p=clang Testcase for last fix. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66258 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/blocks-1.c b/test/CodeGen/blocks-1.c index fbc45236aa..b1f9d9bcdf 100644 --- a/test/CodeGen/blocks-1.c +++ b/test/CodeGen/blocks-1.c @@ -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 void test1() {