summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/norm_4.f90
blob: 276b1743f001764254082494978c82899cfe0824 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! { dg-options "-std=f2003" }
!
! PR fortran/33197
!
! Check implementation of L2 norm (Euclidean vector norm)
!
implicit none

print *, norm2([1.0, 2.0]) ! { dg-error "has no IMPLICIT type" }
end