summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/volatile-1.c
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-12-04 05:19:12 +0000
committerJohn McCall <rjmccall@apple.com>2010-12-04 05:19:12 +0000
commit3144b72a54fd18c5dfb01e322e8b8aed20a9fb90 (patch)
tree3944aa217edf36f0c92c3a0abc43f6259e53363f /test/CodeGen/volatile-1.c
parentf6a1648197562e0b133440d612d9af297d0a86cc (diff)
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
Diffstat (limited to 'test/CodeGen/volatile-1.c')
-rw-r--r--test/CodeGen/volatile-1.c4
1 files changed, 3 insertions, 1 deletions
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;