blob: 661e2540bb3e898d2b166460bbbe27805c87c5b5 [file] [log] [blame]
! { dg-do compile }
!
function g()
interface
subroutine g() ! { dg-error "RESULT attribute in 'g'" }
end subroutine g
end interface
real g ! { dg-error "Symbol 'g' at .1. cannot have a type" }
end function