aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/gfortran.dg/intrinsic_std_3.f90
blob: 15a424b1c9148452dd1a7ea08e04ba65d3cffb9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do link }
! { dg-options "-std=gnu -Wintrinsics-std" }

! PR fortran/33141
! -std=gnu should allow every intrinsic.

PROGRAM main
  IMPLICIT NONE

  ! abort is a GNU extension
  CALL abort () ! { dg-bogus "extension" }

  ! ASINH is an intrinsic of F2008
  WRITE (*,*) ASINH (1.) ! { dg-bogus "Fortran 2008" }
END PROGRAM main