aarch64: Add vector floating point extend pattern [PR113880, PR113869]
[official-gcc.git] / gcc / testsuite / gfortran.dg / bessel_3.f90
blob51e11e9160a9b71d6b3d0597de935f896b62b9e0
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003 -Wimplicit-procedure" }
4 ! PR fortran/36158 - Transformational BESSEL_JN/YN
5 ! PR fortran/33197 - F2008 math functions
7 IMPLICIT NONE
8 print *, SIN (1.0)
9 print *, BESSEL_J0(1.0) ! { dg-error "has no IMPLICIT type" })
10 print *, BESSEL_J1(1.0) ! { dg-error "has no IMPLICIT type" }
11 print *, BESSEL_JN(1,1.0) ! { dg-error "has no IMPLICIT type|Type mismatch" }
12 print *, BESSEL_JN(1,2,1.0) ! { dg-error "has no IMPLICIT type|Type mismatch|More actual than formal" }
14 print *, BESSEL_Y0(1.0) ! { dg-error "has no IMPLICIT type" }
15 print *, BESSEL_Y1(1.0) ! { dg-error "has no IMPLICIT type" }
16 print *, BESSEL_YN(1,1.0) ! { dg-error "has no IMPLICIT type|Type mismatch" }
17 print *, BESSEL_YN(1,2,1.0) ! { dg-error "has no IMPLICIT type|Type mismatch|More actual than formal" }
18 end