From: John McCall Date: Sat, 4 Dec 2010 05:19:12 +0000 (+0000) Subject: Fix this test case on no-asserts builds by not trying to match the basic X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3144b72a54fd18c5dfb01e322e8b8aed20a9fb90;p=clang Fix this test case on no-asserts builds by not trying to match the basic block line. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120893 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/volatile-1.c b/test/CodeGen/volatile-1.c index d8ce39acd9..f54afffdad 100644 --- a/test/CodeGen/volatile-1.c +++ b/test/CodeGen/volatile-1.c @@ -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;