Sebastian Pop | 9ec60df | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 1 | // Check that -no-integrated-as works when -target i386-pc-win32-macho or |
| 2 | // -target x86_64-pc-win32-macho is specified. |
Chad Rosier | c57114a | 2011-07-20 19:14:30 +0000 | [diff] [blame] | 3 | |
Sebastian Pop | 9ec60df | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 4 | // RUN: %clang -### -c -target i386-pc-win32-macho -no-integrated-as %s 2> %t1 |
Chad Rosier | c57114a | 2011-07-20 19:14:30 +0000 | [diff] [blame] | 5 | // RUN: FileCheck -check-prefix=X86 < %t1 %s |
Sebastian Pop | 9ec60df | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 6 | // RUN: %clang -### -c -target x86_64-pc-win32-macho -no-integrated-as %s 2> %t2 |
Chad Rosier | c57114a | 2011-07-20 19:14:30 +0000 | [diff] [blame] | 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" |