Debian Codegraph @

gcc/testsuite/gfortran.dg/bounds_check_21.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-Warray-bounds -O2" }
3 ! PR 92422 - this complained about an array subscript out of bounds.
4
5 PROGRAM character_warning
6
7 CHARACTER(len=16) :: word
8
9 word = 'hi'
10 WRITE(*,*) word
11
12 END PROGRAM character_warning