Skip to content

Commit 81e0bb4

Browse files
committed
add ifdef and comment
1 parent 1530451 commit 81e0bb4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/testdrive.F90

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,12 @@ end subroutine test_interface
285285
abstract interface
286286
!> Collect all tests
287287
subroutine collect_interface(testsuite)
288+
#ifdef __NVCOMPILER_LLVM__
289+
! this is only an issue with nvhpc 25.9, possibly a bug in the compiler ! verify in next release
288290
import :: unittest_type, test_interface
291+
#else
292+
import :: unittest_type
293+
#endif
289294

290295
!> Collection of tests
291296
type(unittest_type), allocatable, intent(out) :: testsuite(:)

0 commit comments

Comments
 (0)