[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / ppc-unsupported.c
blob8361edb8e1d7b2e64d4a55959f4183ea6f1ebfdf
1 // REQUIRES: powerpc-registered-target
2 // RUN: not %clang -target powerpc64-unknown-freebsd -maix-struct-return \
3 // RUN: -c %s 2>&1 | FileCheck %s
4 // RUN: not %clang -target powerpc64-unknown-freebsd -msvr4-struct-return \
5 // RUN: -c %s 2>&1 | FileCheck %s
6 // RUN: not %clang -target powerpc64le-unknown-linux -maix-struct-return \
7 // RUN: -c %s 2>&1 | FileCheck %s
8 // RUN: not %clang -target powerpc64le-unknown-linux -msvr4-struct-return \
9 // RUN: -c %s 2>&1 | FileCheck %s
10 // RUN: not %clang -target powerpc64-unknown-freebsd -mabi=quadword-atomics \
11 // RUN: -c %s 2>&1 | FileCheck %s
12 // RUN: not %clang -target powerpc64-unknown-linux -mabi=quadword-atomics \
13 // RUN: -c %s 2>&1 | FileCheck %s
14 // RUN: not %clang -target powerpc64le-unknown-linux -mabi=quadword-atomics \
15 // RUN: -c %s 2>&1 | FileCheck %s
16 // RUN: not %clang -target powerpc-unknown-unknown -mabi=quadword-atomics \
17 // RUN: -c %s 2>&1 | FileCheck %s
18 // RUN: not %clang -target powerpc-unknown-aix -mabi=quadword-atomics \
19 // RUN: -c %s 2>&1 | FileCheck %s
20 // CHECK: unsupported option