bolt/deps/llvm-18.1.8/flang/test/Driver/disable-ext-name-interop.f90
2025-02-14 19:21:04 +01:00

9 lines
358 B
Fortran

! Test that we can disable the ExternalNameConversion pass in flang-new.
! RUN: %flang_fc1 -S %s -o - 2>&1 | FileCheck %s --check-prefix=EXTNAMES
! RUN: %flang_fc1 -S -mmlir -disable-external-name-interop %s -o - 2>&1 | FileCheck %s --check-prefix=INTNAMES
! EXTNAMES: test_ext_names_
! INTNAMES: _QPtest_ext_names
subroutine test_ext_names
end subroutine