]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gfortran.dg/pr107397.f90
testsuite: Fix up pr107397.f90 test [PR107397]
[thirdparty/gcc.git] / gcc / testsuite / gfortran.dg / pr107397.f90
CommitLineData
09710f99
SK
1!{ dg-do compile }
2!
3program p
4 type t
5 real :: a = 1.0
6 end type
03fb35f8
JJ
7 type(t), parameter :: x = z'1' ! { dg-error "incompatible with a BOZ" }
8 x%a = x%a + 2 ! { dg-error "has no IMPLICIT type" }
09710f99 9end