diff options
author | Mike Stump <mrs@apple.com> | 2009-03-06 06:35:21 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-03-06 06:35:21 +0000 |
commit | 80bd206870d5e4f959d203ae03e2aa345f67cf89 (patch) | |
tree | 2f12bd77d017fd5951e0349e90110bd16afec68c /test/CodeGen/blocks-1.c | |
parent | ee09422b014151a6a47c2ce704a81e94467bc786 (diff) |
Testcase for last fix.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/blocks-1.c')
-rw-r--r-- | test/CodeGen/blocks-1.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <stdio.h> void test1() { |