comparison gcc/testsuite/gfortran.dg/pr93714_2.f90 @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
18:1830386684a0 19:2b5abeee2509
1 ! { dg-do compile }
2 ! PR 93714
3 ! Original test case from G. Steinmetz
4
5 program test
6 character((9.)) :: a
7 character(:), pointer :: b => a
8 end program
9
10 ! { dg-error "Scalar INTEGER expression expected" " " { target *-*-* } 6 }
11 ! { dg-error "Different types in pointer assignment" " " { target *-*-* } 7 }