xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/no-integrated-as-win.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang -target x86_64-pc-win32 -### -no-integrated-as %s -c 2>&1 | FileCheck %s
2*f4a2713aSLionel Sambuc // CHECK: there is no external assembler that can be used on this platform
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc // But there is for mingw.  The source file should only be mentioned once for
5*f4a2713aSLionel Sambuc // the compile step.
6*f4a2713aSLionel Sambuc // RUN: %clang -target i686-pc-mingw32 -### -no-integrated-as %s -c 2>&1 | FileCheck -check-prefix=MINGW %s
7*f4a2713aSLionel Sambuc // MINGW: "-cc1"
8*f4a2713aSLionel Sambuc // MINGW: "-main-file-name" "no-integrated-as-win.c"
9*f4a2713aSLionel Sambuc // MINGW: "-x" "c" "{{.*}}no-integrated-as-win.c"
10*f4a2713aSLionel Sambuc // The assembler goes here, but its name depends on PATH.
11*f4a2713aSLionel Sambuc // MINGW-NOT: no-integrated-as-win.c
12