diff --git a/clang/test/CodeGen/inline-optim.cc b/clang/test/CodeGen/inline-optim.c similarity index 67% rename from clang/test/CodeGen/inline-optim.cc rename to clang/test/CodeGen/inline-optim.c index b3c3e521782a..7ee9c0334103 100644 --- a/clang/test/CodeGen/inline-optim.cc +++ b/clang/test/CodeGen/inline-optim.c @@ -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); }