brintos

brintos / llvm-project-archived public Read only

0
0
Text · 637 B · 726663b Raw
18 lines · c
1// Check GCC AIX bitmode compat options.2 3// RUN: %clang -target powerpc-ibm-aix -maix64 -### -c %s 2>&1 | \4// RUN:   FileCheck --check-prefix=CHECK64 %s5 6// RUN: %clang -target powerpc64-ibm-aix -maix32 -### -c %s 2>&1 | \7// RUN:   FileCheck --check-prefix=CHECK32 %s8 9// RUN: not %clang --target=powerpc-unknown-linux -maix64 -### -c %s 2>&1 | \10// RUN:   FileCheck --check-prefix=ERROR %s11 12// RUN: not %clang --target=powerpc64-unknown-linux -maix32 -### -c %s 2>&1 | \13// RUN:   FileCheck --check-prefix=ERROR %s14 15// CHECK32: Target: powerpc-ibm-aix16// CHECK64: Target: powerpc64-ibm-aix17// ERROR: error: unsupported option '-maix18