Fix this test case on no-asserts builds by not trying to match the basic

block line.

llvm-svn: 120893
This commit is contained in:
John McCall 2010-12-04 05:19:12 +00:00
parent ed854baad5
commit a6f59318c7
1 changed files with 3 additions and 1 deletions

View File

@ -305,7 +305,9 @@ void test() {
extern volatile enum X x;
// CHECK: define void @test1()
void test1() {
// CHECK-NEXT: :
extern void test1_helper(void);
test1_helper();
// CHECK: call void @test1_helper()
// CHECK-NEXT: ret void
x;
(void) x;