Debian Codegraph @

gcc/testsuite/gfortran.dg/gomp/adjust-args-2.f90

raw
1 ! Test resolution of OMP clause adjust_args
2 ! { dg-do compile }
3
4 module main
5 implicit none
6 interface
7 subroutine f1 (i)
8 integer, intent(inout) :: i
9 end subroutine
10 end interface
11 contains
12
13 subroutine f3 (i)
14 integer, intent(inout) :: i
15 !$omp declare variant (f1) match (construct={dispatch}) adjust_args (nothing: z) ! { dg-error "Symbol 'z' at .1. has no IMPLICIT type" }
16 ! { dg-error "Expected dummy parameter name or a positive integer at .1." "" { target *-*-* } .-1 }
17 end subroutine
18
19 end module