2 ! { dg-options "-std=f95 -Wintrinsics-std" }
4 ! PR fortran/32778 - pedantic warning: intrinsics that
5 ! are GNU extensions not part of -std=gnu
7 ! (2/3) Check for GNU extensions and intrinsics from F2003 if -std=f95.
10 CHARACTER(len
=255) :: tmp
13 ! GNU extension, check overload of F77 standard intrinsic
14 x
= ZABS(CMPLX(0.0, 1.0, 8)) ! { dg-warning "extension" }
17 CALL flush() ! { dg-warning "extension" }
20 tmp
= ADJUSTL(" gfortran ")
23 CALL GET_COMMAND (tmp
) ! { dg-warning "Fortran 2003" }