Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / mdefault-visibility-export-mapping.c
blobb71ebd1227bc58dfbb1c0e823df86b2f36981cc3
1 // RUN: %clang -### -S -mdefault-visibility-export-mapping=explicit --target=powerpc-ibm-aix %s 2>&1 | FileCheck %s
2 // RUN: not %clang -### -S -mdefault-visibility-export-mapping=explicit --target=powerpc-unknown-linux %s 2>&1 | \
3 // RUN: FileCheck -check-prefix=ERROR %s
5 // CHECK: "-mdefault-visibility-export-mapping=explicit"
7 // ERROR: error: unsupported option '-mdefault-visibility-export-mapping=' for target 'powerpc-unknown-linux'