coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / implicit_3.f90
blob830b8611a9f6817c3981f3f6b36fb333f82d1c06
1 ! { dg-do compile }
2 ! Verify that INTERFACEs don't inherit the implicit types of the
3 ! surrounding namespace.
4 implicit complex (i-k)
6 interface
7 function f(k,l)
8 ! k should be default INTEGER
9 dimension l(k)
10 end function f
11 end interface
12 end