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 %s 5 6 // RUN: %clang -target powerpc64-ibm-aix -maix32 -### -c %s 2>&1 | \ 7 // RUN: FileCheck --check-prefix=CHECK32 %s 8 9 // RUN: not %clang --target=powerpc-unknown-linux -maix64 -### -c %s 2>&1 | \ 10 // RUN: FileCheck --check-prefix=ERROR %s 11 12 // RUN: not %clang --target=powerpc64-unknown-linux -maix32 -### -c %s 2>&1 | \ 13 // RUN: FileCheck --check-prefix=ERROR %s 14 15 // CHECK32: Target: powerpc-ibm-aix 16 // CHECK64: Target: powerpc64-ibm-aix 17 // ERROR: error: unsupported option '-maix 18