Skip to content

Commit fcf2295

Browse files
authored
fix nvhpc 25.9 compilation (#54)
1 parent adc563c commit fcf2295

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/testdrive.F90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,10 @@ end subroutine test_interface
286286
!> Collect all tests
287287
subroutine collect_interface(testsuite)
288288
import :: unittest_type
289+
#ifdef __NVCOMPILER_LLVM__
290+
! this is only an issue with nvhpc 25.9, possibly a bug in the compiler ! verify in next release
291+
import :: test_interface
292+
#endif
289293

290294
!> Collection of tests
291295
type(unittest_type), allocatable, intent(out) :: testsuite(:)

0 commit comments

Comments
 (0)