2 ! This tests that PR32760, in its various manifestations is fixed.
4 ! Contributed by Harald Anlauf <anlauf@gmx.de>
6 ! This is the original bug - the frontend tried to fix the flavor of
7 ! 'PRINT' too early so that the compile failed on the subroutine
15 integer, intent(in
) :: i
19 integer, intent(in
) :: m
23 ! This version of the bug appears in comment # 21.
32 end subroutine volatile
35 ! This was a problem with the resolution of the STAT parameter in
36 ! ALLOCATE and DEALLOCATE that was exposed in comment #25.
43 integer, allocatable
:: s(:), t(:)
45 allocate(s(4), stat
=istat
)
48 end subroutine integer
51 ! This is the version of the bug in comment #12 of the PR.
58 integer, intent(in
) :: i
64 integer, intent(in
) :: m
74 print *, "in the main:", k