1! { dg-do compile }
2! { dg-options "-std=f2003 -Wimplicit-procedure" }
3!
4! PR fortran/36158 - Transformational BESSEL_JN/YN
5! PR fortran/33197 - F2008 math functions
6!
7IMPLICIT NONE
8print *, SIN (1.0)
9print *, BESSEL_J0(1.0) ! { dg-error "has no IMPLICIT type" })
10print *, BESSEL_J1(1.0) ! { dg-error "has no IMPLICIT type" }
11print *, BESSEL_JN(1,1.0) ! { dg-error "has no IMPLICIT type" }
12print *, BESSEL_JN(1,2,1.0) ! { dg-error "has no IMPLICIT type" }
13
14print *, BESSEL_Y0(1.0) ! { dg-error "has no IMPLICIT type" }
15print *, BESSEL_Y1(1.0) ! { dg-error "has no IMPLICIT type" }
16print *, BESSEL_YN(1,1.0) ! { dg-error "has no IMPLICIT type" }
17print *, BESSEL_YN(1,2,1.0) ! { dg-error "has no IMPLICIT type" }
18end
19