forked from OSchip/llvm-project
Rename test/CodeGen/inline-optim.cc to .c and provide a triple
llvm-svn: 270633
This commit is contained in:
parent
af432a45e3
commit
9464491aa7
|
@ -1,8 +1,8 @@
|
|||
// Make sure -finline-functions family flags are behaving correctly.
|
||||
|
||||
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
|
||||
// RUN: %clang_cc1 -O3 -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
|
||||
// RUN: %clang_cc1 -finline-functions -emit-llvm %s -o - | FileCheck -check-prefix=INLINE %s
|
||||
// RUN: %clang_cc1 -triple i686-pc-win32 -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
|
||||
// RUN: %clang_cc1 -triple i686-pc-win32 -O3 -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
|
||||
// RUN: %clang_cc1 -triple i686-pc-win32 -finline-functions -emit-llvm %s -o - | FileCheck -check-prefix=INLINE %s
|
||||
|
||||
inline int inline_hint(int a, int b) { return(a+b); }
|
||||
|
Loading…
Reference in New Issue