Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / no-integrated-as-win.c
blob9fc834e7e28a6b5c2793f7b365d4a1cb53a1f833
1 // RUN: not %clang --target=x86_64-pc-win32 -### -no-integrated-as %s -c 2>&1 | FileCheck %s
2 // CHECK: there is no external assembler that can be used on this platform
4 // But there is for mingw. The source file should only be mentioned once for
5 // the compile step.
6 // RUN: %clang -target i686-pc-mingw32 -### -no-integrated-as %s -c 2>&1 | FileCheck -check-prefix=MINGW %s
7 // MINGW: "-cc1"
8 // MINGW: "-main-file-name" "no-integrated-as-win.c"
9 // MINGW: "-x" "c" "{{.*}}no-integrated-as-win.c"
10 // The assembler goes here, but its name depends on PATH.
11 // MINGW-NOT: no-integrated-as-win.c