Skip to content

Commit b7291c0

Browse files
committed
prif_init_test: Fix for flang-latest with native PRIF
1 parent a17eec2 commit b7291c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/prif_init_test.F90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ function check_caffeination() result(test_diagnosis)
4242
first_pass = .false.
4343
write_memo: &
4444
block
45+
#if HAVE_MULTI_IMAGE
46+
integer, parameter :: successful_initiation = PRIF_STAT_ALREADY_INIT
47+
#else
4548
integer, parameter :: successful_initiation = 0
49+
#endif
4650
integer init_exit_code
4751

4852
call prif_init(init_exit_code)

0 commit comments

Comments
 (0)