Fix this on the bots and make the test more complete by enabling optimizations.

llvm-svn: 143223
This commit is contained in:
Rafael Espindola 2011-10-28 20:52:18 +00:00
parent fffc1ce1d7
commit 77a4538c6c
1 changed files with 2 additions and 3 deletions

View File

@ -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