1 // RUN: %clang -### -target powerpc-unknown-aix -S %s 2>&1 | FileCheck %s
2 // RUN: %clang -### -target powerpc64-unknown-aix -S %s 2>&1 | FileCheck %s
3 // RUN: %clang -### -target powerpc-unknown-aix -mabi=quadword-atomics -S \
4 // RUN: %s 2>&1 | FileCheck --check-prefix=CHECK-UNSUPPORTED-TARGET %s
5 // RUN: %clang -### -target powerpc64-unknown-aix -mabi=quadword-atomics -S \
6 // RUN: %s 2>&1 | FileCheck %s --check-prefix=CHECK-QUADWORD-ATOMICS
8 // CHECK-UNSUPPORTED-TARGET: unsupported option '-mabi=quadword-atomics' for target 'powerpc-unknown-aix'
9 // CHECK-NOT: "-mabi=quadword-atomics"
10 // CHECK-QUADWORD-ATOMICS: "-cc1"
11 // CHECK-QUADWORD-ATOMICS-SAME: "-mabi=quadword-atomics"