gcc/testsuite/gfortran.dg/pr117820.f90
raw| 1 | ! { dg-do run } |
| 2 | ! See pr117820, original testcase provided by Malcolm Cohen. |
| 3 | program test |
| 4 | integer(8) :: x |
| 5 | character(80) :: output |
| 6 | output = "garbage" |
| 7 | x = ibset (0_8, 63) |
| 8 | write(output, '("<",B64.0,">")') x |
| 9 | if (output .ne. "<1000000000000000000000000000000000000000000000000000000000000000>") stop 1 |
| 10 | end program |