1// Check that -no-integrated-as works when -target i386-pc-win32-macho or
2// -target x86_64-pc-win32-macho is specified.
3
4// RUN: %clang -### -c -target i386-pc-win32-macho -no-integrated-as %s 2> %t1
5// RUN: FileCheck -check-prefix=X86 < %t1 %s
6// RUN: %clang -### -c -target x86_64-pc-win32-macho -no-integrated-as %s 2> %t2
7// RUN: FileCheck -check-prefix=X86_64 < %t2 %s
8//
9// X86: "-cc1"
10// X86-NOT: "-cc1as"
11// X86: "-arch"
12// X86: "i386"
13//
14// X86_64: "-cc1"
15// X86_64-NOT: "-cc1as"
16// X86_64: "-arch"
17// X86_64: "x86_64"
18