summaryrefslogtreecommitdiffstats
path: root/test/Driver/unknown-gcc-arch.c
blob: de9e8e84c4ae741e462e2abd5ccb057164d84ec9 (plain)
1
2
3
4
5
6
7
8
// RUN: clang -ccc-host-triple x86_64-unknown-unknown -c -x assembler %s -### 2> %t.log &&
// RUN: grep '.*gcc.*"-m64"' %t.log &&
// RUN: clang -ccc-host-triple x86_64-unknown-unknown -c -x assembler %s -### -m32 2> %t.log &&
// RUN: grep '.*gcc.*"-m32"' %t.log &&
// RUN: clang -ccc-host-triple i386-unknown-unknown -c -x assembler %s -### 2> %t.log &&
// RUN: grep '.*gcc.*"-m32"' %t.log &&
// RUN: clang -ccc-host-triple i386-unknown-unknown -c -x assembler %s -### -m64 2> %t.log &&
// RUN: grep '.*gcc.*"-m64"' %t.log
OpenPOWER on IntegriCloud