Skip to content

Commit 404b79c

Browse files
committed
test(mimetic_t): support GCC 14.2
1 parent bfea398 commit 404b79c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

test/mimetic_test_m.F90

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,18 @@ function results() result(test_results)
3737
type(test_description_t), allocatable :: test_descriptions(:)
3838
type(test_result_t), allocatable :: test_results(:)
3939

40+
#if HAVE_MULTI_IMAGE_SUPPORT
4041
test_descriptions = [ &
4142
test_description_t("the divergence of a gradient matching a Laplacian", div_grad_matches_laplacian) &
4243
]
44+
#else
45+
procedure(diagnosis_function_i), pointer :: div_grad_matches_laplacian_ptr
46+
div_grad_matches_laplacian_ptr => div_grad_matches_laplacian
47+
48+
test_descriptions = [ &
49+
test_description_t("the divergence of a gradient matching a Laplacian", div_grad_matches_laplacian_ptr) &
50+
]
51+
#endif
4352
test_results = test_descriptions%run()
4453
end function
4554

0 commit comments

Comments
 (0)