flang/test/Driver/pass-plugin.f90
raw| 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 | |
| 16 | subroutine empty |
| 17 | end subroutine empty |