blob: 0c5ebe3a65618c520c5b2aa9d3f3f9eaa9e46af8 [file] [log] [blame]
! { dg-do compile }
! { dg-options "-Wall" }
module foo
implicit none
private
public f1,f2
contains
integer function f1()
integer f2
integer f3 ! { dg-warning "Unused variable" }
f1=5
entry f2
f2=8
end function
end module
program test
use foo
implicit none
print *,f2()
end program