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.
This commit is contained in:
Thomas König 2020-04-19 14:05:46 +02:00
parent e91c0a35e5
commit ba36d0b9d4
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -0,0 +1,8 @@
! { 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