Debian Codegraph @

gcc/testsuite/gfortran.dg/pr107397.f90

raw
1 !{ dg-do compile }
2 !
3 program p
4 implicit none
5 type t
6 real :: a = 1.0
7 end type
8 type(t), parameter :: x = z'1' ! { dg-error "incompatible with a BOZ" }
9 x%a = x%a + 2 ! { dg-error "has no IMPLICIT type" }
10 end