Debian Codegraph @

gcc/testsuite/gfortran.dg/pr88138.f90

raw
1 ! { dg-do compile }
2 program p
3 implicit none
4 type t
5 character :: c = 'c'
6 end type
7 type(t), parameter :: x = 1.e1 ! { dg-error "Incompatible initialization between a" }
8 print *, 'a' // x%c
9 end
10 ! { dg-prune-output "has no IMPLICIT type" }