OSDN Git Service

2011-09-26 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / bessel_3.f90
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 !
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" }
12 print *, BESSEL_JN(1,2,1.0) ! { dg-error "has no IMPLICIT type" }
13
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" }
17 print *, BESSEL_YN(1,2,1.0) ! { dg-error "has no IMPLICIT type" }
18 end