Testcase for last fix.

llvm-svn: 66258
This commit is contained in:
Mike Stump 2009-03-06 06:35:21 +00:00
parent f89230d93b
commit cfc045e36c
1 changed files with 4 additions and 2 deletions

View 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() {