Daniel Dunbar | 0e2679d | 2009-08-24 22:26:16 +0000 | [diff] [blame] | 1 | // RUN: clang -ccc-host-triple i386-apple-darwin10 -### -x assembler -c %s -static -dynamic 2>%t && |
Daniel Dunbar | 55a1846 | 2009-08-24 22:29:04 +0000 | [diff] [blame] | 2 | // RUN: FileCheck -check-prefix=STATIC_AND_DYNAMIC-32 --input-file %t %s && |
Daniel Dunbar | 0e2679d | 2009-08-24 22:26:16 +0000 | [diff] [blame] | 3 | |
| 4 | // CHECK-STATIC_AND_DYNAMIC-32: as" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o" |
| 5 | |
| 6 | // RUN: clang -ccc-host-triple x86_64-apple-darwin10 -### -x assembler -c %s -static 2>%t && |
| 7 | // RUN: FileCheck -check-prefix=STATIC-64 --input-file %t %s |
| 8 | |
| 9 | // CHECK-STATIC-64: as" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o" |
| 10 | |