summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/logical_data_1.f90
blob: b9190d214b0f7d927a91a3575eb1c703ea1ea8ab (plain)
1
2
3
4
5
6
7
8
9
! { dg-do compile }
! PR19589
! Logical objects/values with differing type kinds were being rejected in
! data statements.
program logical_data_1
  logical(kind=4) :: a
  logical(kind=8) :: b
  data a, b /.true., .false./
end program