xref: /llvm-project/clang/test/Frontend/aix-unsupported.c (revision 7f5d91d3ffedf89823f36a5eba5ec586bc885545)
1 // REQUIRES: powerpc-registered-target
2 // RUN: not %clang_cc1 -triple powerpc-unknown-aix -maix-struct-return \
3 // RUN:   -c %s 2>&1 | FileCheck %s
4 // RUN: not %clang_cc1 -triple powerpc-unknown-aix -msvr4-struct-return \
5 // RUN:   -c %s 2>&1 | FileCheck %s
6 // RUN: not %clang_cc1 -triple powerpc64-unknown-aix -maix-struct-return \
7 // RUN:   -c %s 2>&1 | FileCheck %s
8 // RUN: not %clang_cc1 -triple powerpc64-unknown-aix -msvr4-struct-return \
9 // RUN:   -c %s 2>&1 | FileCheck %s
10 // CHECK: unsupported option
11