blob: f56884f93ae10217b76e1d939e2d356a67a7cd50 [file] [log] [blame]
! { dg-do compile }
! Tests the fix for PR34431 in which function TYPEs that were
! USE associated would cause an error.
!
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
!
module bar
contains
type(non_exist) function func2() ! { dg-error "not accessible" }
end function func2
end module bar