| 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-EXE |
| 4 |
|
| 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-EXE |
| 6 |
|
| 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-Q |
| 8 |
|
| 9 |
// CHECK-OUTPUTNAME-EXE: "-o" "outputname.exe" |
| 10 |
// CHECK-OUTPUTNAME-Q: "-o" "outputname.q" |