lto: Remove random_seed from section name.
[official-gcc.git] / gcc / testsuite / gfortran.dg / statement_function_4.f90
blob6ce5951b53a1d5515451336b8d0506541ee967d0
1 ! { dg-do compile }
2 ! PR fortran/69604
3 ! Contributed by G.Steinmetz
5 program p
6 x(n) = 1 + n(2.0) ! { dg-error "Invalid use of statement function argument" }
7 y(k) = k() ! { dg-error "Invalid use of statement function argument" }
8 z(m) = m ! { dg-warning "Statement function" }
9 print *, x(n)
10 end