|
1 | 1 | #include "test-utils.F90" |
2 | | -#include "language-support.F90" |
3 | 2 |
|
4 | 3 | module prif_allocate_test_m |
| 4 | +# include "test-uses-alloc.F90" |
5 | 5 | use prif, only : & |
6 | | - prif_allocate_coarray, & |
7 | | - prif_allocate, prif_deallocate, & |
8 | | - prif_coarray_handle, prif_num_images, prif_size_bytes, & |
| 6 | + prif_num_images, prif_size_bytes, & |
9 | 7 | prif_set_context_data, prif_get_context_data, prif_local_data_pointer, & |
10 | 8 | prif_alias_create, prif_alias_destroy |
11 | | -#if CAF_PRIF_VERSION <= 6 |
12 | | - use prif, only : prif_deallocate_coarray_ => prif_deallocate_coarray |
13 | | -# define prif_deallocate_coarray(h) prif_deallocate_coarray_([h]) |
14 | | -# define prif_deallocate_coarrays(arr) prif_deallocate_coarray_(arr) |
15 | | -#else |
16 | | - use prif, only : prif_deallocate_coarray, prif_deallocate_coarrays |
17 | | -#endif |
| 9 | + |
18 | 10 | use julienne_m, only: test_description_t, test_diagnosis_t, test_result_t, test_t, string_t, usher & |
19 | 11 | ,operator(.all.), operator(.also.), operator(.equalsExpected.), operator(//) |
20 | | - use iso_c_binding, only: & |
21 | | - c_ptr, c_int, c_int64_t, c_size_t, c_null_funptr, & |
22 | | - c_f_pointer, c_null_ptr, c_loc, c_associated, c_intptr_t |
23 | 12 |
|
24 | 13 | implicit none |
25 | 14 | private |
|
0 commit comments