Daniel Dunbar | 6ecc7a9 | 2009-05-02 21:41:52 +0000 | [diff] [blame] | 1 | // RUN: clang -ccc-host-triple x86_64-unknown-unknown -c -x assembler %s -### 2> %t.log && |
| 2 | // RUN: grep '.*gcc.*"-m64"' %t.log && |
| 3 | // RUN: clang -ccc-host-triple x86_64-unknown-unknown -c -x assembler %s -### -m32 2> %t.log && |
| 4 | // RUN: grep '.*gcc.*"-m32"' %t.log && |
| 5 | // RUN: clang -ccc-host-triple i386-unknown-unknown -c -x assembler %s -### 2> %t.log && |
| 6 | // RUN: grep '.*gcc.*"-m32"' %t.log && |
| 7 | // RUN: clang -ccc-host-triple i386-unknown-unknown -c -x assembler %s -### -m64 2> %t.log && |
| 8 | // RUN: grep '.*gcc.*"-m64"' %t.log |