2 ! { dg-options "-fcheck=pointer -fdump-tree-original" }
3 ! { dg-shouldfail "Fortran runtime error: Allocatable argument 'a' is not allocated" }
4 ! { dg-output "At line 13 .*" }
5 ! PR48958 - Add runtime diagnostics for SIZE intrinsic function
9 integer, allocatable
:: a(:)
10 integer, pointer :: b(:)
11 class(*), allocatable
:: c(:)
20 integer, intent(in
) :: n
21 real, allocatable
:: f(:)
25 ! { dg-final { scan-tree-dump-times "_gfortran_runtime_error_at" 4 "original" } }