comparison gcc/testsuite/gfortran.dg/pr93686_1.f90 @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
145:1830386684a0 152:2b5abeee2509
1 ! { dg-do compile }
2 ! PR fortran/93686
3
4 program p
5 type t
6 integer :: a
7 end type
8 type(t), pointer :: x
9 data x /t(2)/ ! { dg-error "part-ref with pointer attribute near ... is not rightmost part-ref of data-stmt-object" }
10 end