Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Frontend / plugins-order.c
blob355ec4fb0b2574408457d6b19b0f5e78dd9f60af
1 // REQUIRES: plugins, examples
3 // RUN: %clang_cc1 -load %llvmshlibdir/PluginsOrder%pluginext %s 2>&1 | FileCheck %s --check-prefix=ALWAYS
4 // ALWAYS: always-before
5 // ALWAYS-NEXT: always-after
7 // RUN: %clang_cc1 -load %llvmshlibdir/PluginsOrder%pluginext %s -add-plugin cmd-after -add-plugin cmd-before 2>&1 | FileCheck %s --check-prefix=ALL
8 // RUN: %clang_cc1 -load %llvmshlibdir/PluginsOrder%pluginext %s -add-plugin cmd-before -add-plugin cmd-after 2>&1 | FileCheck %s --check-prefix=ALL
9 // ALL: cmd-before
10 // ALL-NEXT: always-before
11 // ALL-NEXT: cmd-after
12 // ALL-NEXT: always-after