summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/boz_6.f90
blob: d7a287d58041e8a0823390a652cd27890071eb5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do run }
! { dg-options "-std=gnu" }
! PR 24917
program test
  integer ib, io, iz, ix
  integer jb, jo, jz, jx
  data ib, jb /b'111', '111'b/
  data io, jo /o'234', '234'o/
  data iz, jz /z'abc', 'abc'z/
  data ix, jx /x'abc', 'abc'x/
  if (ib /= jb) call abort
  if (io /= jo) call abort
  if (iz /= jz) call abort
  if (ix /= jx) call abort
end program test