blob: de9e8e84c4ae741e462e2abd5ccb057164d84ec9 [file] [log] [blame]
Daniel Dunbar6ecc7a92009-05-02 21:41:52 +00001// 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