summaryrefslogtreecommitdiffstats
path: root/clang/test
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
commita6f59318c7af49765fee9dca197509829a531040 (patch)
treed3d43df4cacd897e9cbbd756087f3d9f695fc3ee /clang/test
parented854baad5d5313bc19364256785ae9dc28cb39d (diff)
downloadbcm5719-llvm-a6f59318c7af49765fee9dca197509829a531040.tar.gz
bcm5719-llvm-a6f59318c7af49765fee9dca197509829a531040.zip
Fix this test case on no-asserts builds by not trying to match the basic
block line. llvm-svn: 120893
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGen/volatile-1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGen/volatile-1.c b/clang/test/CodeGen/volatile-1.c
index d8ce39acd9f..f54afffdada 100644
--- a/clang/test/CodeGen/volatile-1.c
+++ b/clang/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;
OpenPOWER on IntegriCloud