2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / contains_empty_2.f03
blob62e18f43d14e5a96db7d9bad3e863e503eeb43f1
1 ! { dg-do compile }
2 ! { dg-options "-std=f2008 -pedantic" }
4 program test
5   print *, 'hello there'
6 contains
7 end program test
9 module truc
10   integer, parameter :: answer = 42
11 contains
12 end module truc
14 ! { dg-final { cleanup-modules "truc" } }