summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/intrinsic_4.f90
blob: 300dfde1fde50c6a58abead4634e576deda18c1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { dg-do compile }
! { dg-options "-Wsurprising" }
!
! PR 40995: [4.5 Regression] Spurious "Type specified for intrinsic function...ignored" message
!
! Contributed by Mat Cross <mathewc@nag.co.uk>

subroutine sub(n,x)
  intrinsic abs
  integer n, x(abs(n))
end