f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
// RUN: %clang -target x86_64-unknown-unknown -c -x assembler %s -### 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=X86_64 %s
|
|
// X86_64: {{.*gcc.*-m64}}
|
|
|
|
// RUN: %clang -target x86_64-unknown-unknown -c -x assembler %s -### -m32 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=X86_64-M32 %s
|
|
// X86_64-M32: {{.*gcc.*-m32}}
|
|
|
|
// RUN: %clang -target i386-unknown-unknown -c -x assembler %s -### 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=I386 %s
|
|
// I386: {{.*gcc.*-m32}}
|
|
|
|
// RUN: %clang -target i386-unknown-unknown -c -x assembler %s -### -m64 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=I386-M64 %s
|
|
// I386-M64: {{.*gcc.*-m64}}
|
|
|
|
|
|
// RUN: %clang -target powerpc64-unknown-unknown -c -x assembler %s -### 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=PPC64 %s
|
|
// PPC64: {{.*gcc.*-m64}}
|
|
|
|
// RUN: %clang -target powerpc64-unknown-unknown -c -x assembler %s -### -m32 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=PPC64-M32 %s
|
|
// PPC64-M32: {{.*gcc.*-m32}}
|
|
|
|
// RUN: %clang -target powerpc-unknown-unknown -c -x assembler %s -### 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=PPC %s
|
|
// PPC: {{.*gcc.*-m32}}
|
|
|
|
// RUN: %clang -target powerpc-unknown-unknown -c -x assembler %s -### -m64 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=PPC-M64 %s
|
|
// PPC-M64: {{.*gcc.*-m64}}
|