aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr68544.f90
blob: 3b17e2ab523acea31fe1c478eaecbe77badfaaa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! { dg-do compile }
! PF fortran/68544
program p
   real x
   type t
   end type
   x = f(t)             ! { dg-error "used as an actual argument" }
end
subroutine b
   type t
   end type
   print *, shape(t)    ! { dg-error "used as an actual argument" }
end