libgomp/testsuite/libgomp.fortran/declare-variant-2-aux.f90
raw| 1 | ! { dg-do compile { target skip-all-targets } } |
| 2 | |
| 3 | ! Test XFAILed due to https://gcc.gnu.org/PR115271 |
| 4 | |
| 5 | |
| 6 | subroutine base_proc (a) |
| 7 | use iso_c_binding, only: c_ptr |
| 8 | type(c_ptr), intent(inout) :: a |
| 9 | end subroutine |
| 10 | |
| 11 | program main |
| 12 | use iso_c_binding, only: c_ptr |
| 13 | use my_mod |
| 14 | implicit none |
| 15 | |
| 16 | type(c_ptr) :: a |
| 17 | |
| 18 | |
| 19 | call base_proc(a) |
| 20 | !call variant_proc(a) |
| 21 | |
| 22 | !$omp dispatch |
| 23 | call base_proc(a) |
| 24 | |
| 25 | end program main |