2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / stfunc_1.f90
blob46dde6286b617766827816efefe2e37821757980
1 ! { dg-do run }
2 ! { dg-options "-std=legacy" }
4 ! this is a problem which disappeared between 2005-01-02 and 2005-03-13
5 ! PR 18600
6 logical a, b
7 a(b) = .true.
8 b = .false.
9 if (a(.false.)) b = .true.
10 if (.not.b) call abort
11 end