[cfe-commits] r120893 - /cfe/trunk/test/CodeGen/volatile-1.c

John McCall rjmccall at apple.com
Fri Dec 3 21:19:12 PST 2010


Author: rjmccall
Date: Fri Dec  3 23:19:12 2010
New Revision: 120893

URL: http://llvm.org/viewvc/llvm-project?rev=120893&view=rev
Log:
Fix this test case on no-asserts builds by not trying to match the basic
block line.


Modified:
    cfe/trunk/test/CodeGen/volatile-1.c

Modified: cfe/trunk/test/CodeGen/volatile-1.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/volatile-1.c?rev=120893&r1=120892&r2=120893&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/volatile-1.c (original)
+++ cfe/trunk/test/CodeGen/volatile-1.c Fri Dec  3 23:19:12 2010
@@ -305,7 +305,9 @@
 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;





More information about the cfe-commits mailing list