brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 4a920db Raw
22 lines · c
1// RUN: not %clang --target=powerpc-ibm-aix-xcoff -### -E -G 0 2>&1 %s | \2// RUN:   FileCheck --check-prefix=CHECK32 %s3// RUN: not %clang --target=powerpc-ibm-aix-xcoff -### -S -emit-llvm -G 0 2>&1 %s | \4// RUN:   FileCheck --check-prefix=CHECK32 %s5// RUN: not %clang --target=powerpc-ibm-aix-xcoff -### -c -G 0 2>&1 %s | \6// RUN:   FileCheck --check-prefix=CHECK32 %s7// RUN: touch %t.s %t.o8// RUN: not %clang --target=powerpc-ibm-aix-xcoff -### -c %t.s -G 0 2>&1 | FileCheck --check-prefix=CHECK32 %s9// RUN: not %clang --target=powerpc-ibm-aix-xcoff -### -o dummy.so %t.o -G 0 2>&1 | FileCheck --check-prefix=CHECK32 %s10 11// RUN: not %clang --target=powerpc64-ibm-aix-xcoff -### -E -G 0 2>&1 %s | \12// RUN:   FileCheck --check-prefix=CHECK64 %s13// RUN: not %clang --target=powerpc64-ibm-aix-xcoff -### -S -emit-llvm -G 0 2>&1 %s | \14// RUN:   FileCheck --check-prefix=CHECK64 %s15// RUN: not %clang --target=powerpc64-ibm-aix-xcoff -### -c -G 0 2>&1 %s | \16// RUN:   FileCheck --check-prefix=CHECK64 %s17// RUN: not %clang --target=powerpc64-ibm-aix-xcoff -### -c %t.s -G 0 2>&1 | FileCheck --check-prefix=CHECK64 %s18// RUN: not %clang --target=powerpc64-ibm-aix-xcoff -### -o dummy.so %t.o -G 0 2>&1 | FileCheck --check-prefix=CHECK64 %s19 20// CHECK32: error: unsupported option '-G' for target 'powerpc-ibm-aix-xcoff'21// CHECK64: error: unsupported option '-G' for target 'powerpc64-ibm-aix-xcoff'22