Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / gfortran.dg / func_decl_5.f90
blob9cd4735374d966371acd67d8c156970f975a0b3b
1 ! { dg-do compile }
2 ! { dg-options "-c" }
4 ! Functions shall not have an initializer.
6 ! Some tests were moved from func_decl_4.f90 to here.
9 function f1() ! { dg-error "cannot have an initializer" }
10 integer :: f1 = 42
11 end function
13 function f2() RESULT (r) ! { dg-error "cannot have an initializer" }
14 integer :: r = 42
15 end function