coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_decl_16.f90
blob3251e52f512adace55fc6ee1617c96ea5ca1aa5a
1 ! { dg-do compile }
2 ! PR fortran/36459
4 abstract interface
5 function dim()
6 integer :: dim
7 end function dim
8 end interface
9 procedure(dim) :: f
11 interface
12 integer function tan()
13 end function
14 end interface
15 procedure(tan) :: g
17 print *, f()
19 print *, tan()
21 end