summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/empty_function_1.f90
blob: 1556a509091d1f72c61b9db8fd292e31f38eaa1e (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
!
! PR fortran/38252
! FUNCTION rejected if both specification and execution part are empty
!
! Contributed by Daniel Kraft <d@domob.eu>

INTEGER FUNCTION test ()
CONTAINS
END FUNCTION test