modula2: Simplify REAL/LONGREAL/SHORTREAL node creation.
[official-gcc.git] / gcc / testsuite / gfortran.dg / norm2_4.f90
blob276b1743f001764254082494978c82899cfe0824
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
4 ! PR fortran/33197
6 ! Check implementation of L2 norm (Euclidean vector norm)
8 implicit none
10 print *, norm2([1.0, 2.0]) ! { dg-error "has no IMPLICIT type" }
11 end