summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/pr9614.c
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-10-28 20:52:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-10-28 20:52:18 +0000
commit77a4538c6c08349606e65dd227c8c230549b6d0e (patch)
tree9c7c17e94396e908f94e69140c79a0abf9c8a59d /clang/test/CodeGen/pr9614.c
parentfffc1ce1d7f60bf76b98c22b1af7aa0eeed51a31 (diff)
downloadbcm5719-llvm-77a4538c6c08349606e65dd227c8c230549b6d0e.tar.gz
bcm5719-llvm-77a4538c6c08349606e65dd227c8c230549b6d0e.zip
Fix this on the bots and make the test more complete by enabling optimizations.
llvm-svn: 143223
Diffstat (limited to 'clang/test/CodeGen/pr9614.c')
-rw-r--r--clang/test/CodeGen/pr9614.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CodeGen/pr9614.c b/clang/test/CodeGen/pr9614.c
index e761bec3f91..8c767766832 100644
--- a/clang/test/CodeGen/pr9614.c
+++ b/clang/test/CodeGen/pr9614.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -O1 -o - | FileCheck %s
extern void foo_alias (void) __asm ("foo");
inline void foo (void) {
@@ -14,8 +14,7 @@ void f(void) {
}
// CHECK: define void @f()
-// CHECK-NEXT: entry:
-// CHECK-NEXT: call void @foo()
+// CHECK: call void @foo()
// CHECK-NEXT: call void @bar()
// CHECK-NEXT: ret void
OpenPOWER on IntegriCloud