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:
parent
e91c0a35e5
commit
ba36d0b9d4
@ -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
|
||||
|
8
gcc/testsuite/gfortran.dg/pointer_init_12.f90
Normal file
8
gcc/testsuite/gfortran.dg/pointer_init_12.f90
Normal 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
|
Loading…
Reference in New Issue
Block a user