summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/intrinsic_std_2.f90
blob: 6112d906d427ce02fed88c6881237837f239f3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do link }
! { dg-options "-std=f95 -Wintrinsics-std -fall-intrinsics" }

! PR fortran/33141
! Check that -fall-intrinsics makes all intrinsics available.

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