fix pr/45972
[official-gcc.git] / gcc / testsuite / gfortran.dg / verify_2.f90
blob705d775047fc2e9b334ee61660a16c55e5086e59
1 ! { dg-do run }
2 program verify_2
3 character(len=3) s1, s2
4 s1 = 'abc'
5 s2 = ''
6 if (verify('ab', '') /= 1) call abort
7 if (verify(s1, s2) /= 1) call abort
8 if (verify('abc', '', .true.) /= 3) call abort
9 if (verify(s1, s2, .true.) /= 3) call abort
10 end program verify_2