clang/test/Driver/ignore-xcoff-visibility.cpp
raw| 1 | // RUN: %clang -### -target powerpc-unknown-aix -mignore-xcoff-visibility -S %s 2> %t.log |
| 2 | // RUN: FileCheck -check-prefix=CHECK %s < %t.log |
| 3 | CHECK: {{.*}}clang{{.*}}" "-cc1" |
| 4 | CHECK: "-mignore-xcoff-visibility" |
| 5 | |
| 6 | // RUN: not %clang -mignore-xcoff-visibility -target powerpc-unknown-linux %s 2>&1 | \ |
| 7 | // RUN: FileCheck -check-prefix=ERROR %s |
| 8 | |
| 9 | ERROR: unsupported option '-mignore-xcoff-visibility' for target 'powerpc-unknown-linux' |