flang/test/Driver/disable-ext-name-interop.f90
raw| 1 | ! Test that we can disable the ExternalNameConversion pass in flang-new. |
| 2 | |
| 3 | ! RUN: %flang_fc1 -S %s -o - 2>&1 | FileCheck %s --check-prefix=EXTNAMES |
| 4 | ! RUN: %flang_fc1 -S -mmlir -disable-external-name-interop %s -o - 2>&1 | FileCheck %s --check-prefix=INTNAMES |
| 5 | |
| 6 | ! EXTNAMES: test_ext_names_ |
| 7 | ! INTNAMES: _QPtest_ext_names |
| 8 | subroutine test_ext_names |
| 9 | end subroutine |