xref: /llvm-project/flang/test/Driver/pass-plugin.f90 (revision d34dce25d9585305c1d7a89f16a259bbbf62ff2b)
1! Verify that the static and dynamically loaded pass plugins work as expected.
2
3! UNSUPPORTED: system-windows
4
5! REQUIRES: plugins, shell, examples
6
7! RUN: %flang -S %s %loadbye -Xflang -fdebug-pass-manager -o /dev/null \
8! RUN: 2>&1 | FileCheck %s
9
10! RUN: %flang_fc1 -S %s %loadbye -fdebug-pass-manager -o /dev/null \
11! RUN: 2>&1 | FileCheck %s
12
13
14! CHECK: Running pass: {{.*}}Bye on empty_
15
16subroutine empty
17end subroutine empty
18