2 ! { dg-options "-c -Wall" }
5 ! cf. also PR fortran/20373
11 a(n
) = MAX(ABS(2),ABS(3),n
)
19 a(n
) = MAX(ABS(2),ABS(3),n
)
22 subroutine warnings_one
25 REAL :: ABS
! { dg-warning "Type specified for intrinsic function" }
26 REAL :: MAX
! { dg-warning "Type specified for intrinsic function" }
28 a(n
) = MAX(ABS(2),ABS(3),n
)
31 subroutine warnings_two
35 INTRINSIC ABS
! { dg-warning "Type specified for intrinsic function" }
36 INTRINSIC MAX
! { dg-warning "Type specified for intrinsic function" }
39 a(n
) = MAX(ABS(2),ABS(3),n
)