]> granicus.if.org Git - clang/commitdiff
Fix this test case on no-asserts builds by not trying to match the basic
authorJohn McCall <rjmccall@apple.com>
Sat, 4 Dec 2010 05:19:12 +0000 (05:19 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 4 Dec 2010 05:19:12 +0000 (05:19 +0000)
block line.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120893 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/volatile-1.c

index d8ce39acd9f1d2a0ae0ee51fbbd609646a9fe2c8..f54afffdadab18dd2fe29659c82915651b108819 100644 (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;