Commit ba36d0b9 by Thomas König

PR 94347 - add a test case for something a PR has fixed itself.

2020-04-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/94347
	* gfortran.dg/char_pointer_init_1.f90: New test.
parent e91c0a35
2020-04-19 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/94347
* gfortran.dg/char_pointer_init_1.f90: New test.
2020-04-19 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/57129
* gfortran.dg/subroutine_as_type.f90: New test.
......
! { dg-do compile }
! PR 94347 - this used to cause an ICE.
! Original test case by "Serghei".
program main
character(10), target :: a
character(:), pointer :: p => null()
p => a
end program main
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment