2 ! { dg-options "-c -Wall" }
5 ! cf. also PR fortran/40041
8 intrinsic :: abs ! ok, intrinsic function
9 intrinsic :: cpu_time ! ok, intrinsic subroutine
13 ! the follow three are ok in general, but ANY
14 ! type is ignored, even the correct one
15 real, intrinsic :: sin ! { dg-warning "is ignored" }
17 real :: asin ! { dg-warning "is ignored" }
20 intrinsic :: tan ! { dg-warning "is ignored" }
24 integer, intrinsic :: cos ! { dg-warning "is ignored" }
26 integer :: acos ! { dg-warning "is ignored" }
29 ! ordering shall not matter
30 intrinsic :: atan ! { dg-warning "is ignored" }
35 intrinsic :: foo ! { dg-error "does not exist" }
36 real, intrinsic :: bar ! { dg-error "does not exist" }
38 real, intrinsic :: mvbits ! { dg-error "shall not have a type" }