aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr107397.f90
blob: fd59bf1600701edb2efaec4545fc63603f095403 (plain)
1
2
3
4
5
6
7
8
9
!{ dg-do compile }
!
program p
  type t
    real :: a = 1.0
  end type
  type(t), parameter :: x = z'1' ! { dg-error "incompatible with a BOZ" }
  x%a = x%a + 2 ! { dg-error "has no IMPLICIT type" }
end