Debian Codegraph @

gcc/testsuite/gfortran.dg/contains_empty_2.f03

raw
1 ! { dg-do compile }
2 ! { dg-options "-std=f2008 -pedantic" }
3
4 program test
5 print *, 'hello there'
6 contains
7 end program test
8
9 module truc
10 integer, parameter :: answer = 42
11 contains
12 end module truc