Skip to content

Commit f042fe4

Browse files
committed
Rename test/CodeGen/inline-optim.cc to .c and provide a triple
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270633 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 09bb63e commit f042fe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/CodeGen/inline-optim.cc renamed to test/CodeGen/inline-optim.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Make sure -finline-functions family flags are behaving correctly.
22

3-
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
4-
// RUN: %clang_cc1 -O3 -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
5-
// RUN: %clang_cc1 -finline-functions -emit-llvm %s -o - | FileCheck -check-prefix=INLINE %s
3+
// RUN: %clang_cc1 -triple i686-pc-win32 -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
4+
// RUN: %clang_cc1 -triple i686-pc-win32 -O3 -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
5+
// RUN: %clang_cc1 -triple i686-pc-win32 -finline-functions -emit-llvm %s -o - | FileCheck -check-prefix=INLINE %s
66

77
inline int inline_hint(int a, int b) { return(a+b); }
88

0 commit comments

Comments
 (0)