Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/merge_char_const.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do run } ! { dg-options "-O0" } ! This tests the patch for PR24311 in which the PRINT statement would ! ICE on trying to print a MERGE statement with character constants ! for the first two arguments. ! ! Contributed by Paul Thomas <pault@gcc.gnu.org> ! integer, dimension(6) :: i = (/1,0,0,1,1,0/) print '(6a1)', Merge ("a", "b", i == 1) ! { dg-output "abbaab" } end