re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git] / gcc / testsuite / gfortran.dg / stfunc_1.f90
blob42b0a89e89bf9e1d3f2cea512a8ea8e741f11b4a
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) STOP 1
11 end