From 3144b72a54fd18c5dfb01e322e8b8aed20a9fb90 Mon Sep 17 00:00:00 2001 From: John McCall Date: Sat, 4 Dec 2010 05:19:12 +0000 Subject: [PATCH] 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 --- test/CodeGen/volatile-1.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.40.0