coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / empty_function_1.f90
blob1556a509091d1f72c61b9db8fd292e31f38eaa1e
1 ! { dg-do compile }
3 ! PR fortran/38252
4 ! FUNCTION rejected if both specification and execution part are empty
6 ! Contributed by Daniel Kraft <d@domob.eu>
8 INTEGER FUNCTION test ()
9 CONTAINS
10 END FUNCTION test