Parcourir la source

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
Hans Wennborg il y a 9 ans
Parent
commit
f042fe468b
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      test/CodeGen/inline-optim.c

+ 3 - 3
test/CodeGen/inline-optim.cc → 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); }