brintos

brintos / llvm-project-archived public Read only

0
0
Text · 639 B · 6320a4a Raw
11 lines · c
1// Test how an implicit .exe extension is added.2 3// RUN: %clang --target=i686-windows-gnu -### --sysroot=%S/Inputs/mingw_clang_tree/mingw32 %s -o outputname 2>&1 | FileCheck %s --check-prefix=CHECK-OUTPUTNAME-EXE4 5// RUN: %clang --target=i686-windows-gnu -### --sysroot=%S/Inputs/mingw_clang_tree/mingw32 %s -o outputname.exe 2>&1 | FileCheck %s --check-prefix=CHECK-OUTPUTNAME-EXE6 7// RUN: %clang --target=i686-windows-gnu -### --sysroot=%S/Inputs/mingw_clang_tree/mingw32 %s -o outputname.q 2>&1 | FileCheck %s --check-prefix=CHECK-OUTPUTNAME-Q8 9// CHECK-OUTPUTNAME-EXE: "-o" "outputname.exe"10// CHECK-OUTPUTNAME-Q: "-o" "outputname.q"11