1 1.11 christos ! Copyright 2008-2024 Free Software Foundation, Inc. 2 1.1 christos ! 3 1.1 christos ! This program is free software; you can redistribute it and/or modify 4 1.1 christos ! it under the terms of the GNU General Public License as published by 5 1.1 christos ! the Free Software Foundation; either version 3 of the License, or 6 1.1 christos ! (at your option) any later version. 7 1.1 christos ! 8 1.1 christos ! This program is distributed in the hope that it will be useful, 9 1.1 christos ! but WITHOUT ANY WARRANTY; without even the implied warranty of 10 1.1 christos ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 1.1 christos ! GNU General Public License for more details. 12 1.1 christos ! 13 1.1 christos ! You should have received a copy of the GNU General Public License 14 1.8 christos ! along with this program. If not, see <http://www.gnu.org/licenses/>. 15 1.1 christos ! 16 1.1 christos ! Ihis file is the Fortran source file for dynamic.exp. 17 1.1 christos ! Original file written by Jakub Jelinek <jakub@redhat.com>. 18 1.1 christos ! Modified for the GDB testcase by Jan Kratochvil <jan.kratochvil@redhat.com>. 19 1.1 christos 20 1.1 christos subroutine in 21 1.1 christos 22 1.1 christos INTEGER*4 ix 23 1.1 christos REAL*4 iy2 24 1.1 christos REAL*8 iz 25 1.1 christos 26 1.1 christos INTEGER*4 ix_x 27 1.1 christos REAL*4 iy_y 28 1.1 christos REAL*8 iz_z2 29 1.1 christos 30 1.1 christos common /fo_o/ix,iy2,iz 31 1.1 christos common /foo/ix_x,iy_y,iz_z2 32 1.1 christos 33 1.1 christos iy = 5 34 1.1 christos iz_z = 55 35 1.1 christos 36 1.1 christos if (ix .ne. 11 .or. iy2 .ne. 22.0 .or. iz .ne. 33.0) call abort 37 1.1 christos if (ix_x .ne. 1 .or. iy_y .ne. 2.0 .or. iz_z2 .ne. 3.0) call abort 38 1.1 christos 39 1.1 christos ix = 0 ! stop-here-in 40 1.1 christos 41 1.1 christos end subroutine in 42 1.1 christos 43 1.1 christos program common_test 44 1.1 christos 45 1.1 christos INTEGER*4 ix 46 1.1 christos REAL*4 iy 47 1.1 christos REAL*8 iz 48 1.1 christos 49 1.1 christos INTEGER*4 ix_x 50 1.1 christos REAL*4 iy_y 51 1.1 christos REAL*8 iz_z 52 1.1 christos 53 1.1 christos common /foo/ix,iy,iz 54 1.1 christos common /fo_o/ix_x,iy_y,iz_z 55 1.1 christos 56 1.1 christos ix = 1 57 1.1 christos iy = 2.0 58 1.1 christos iz = 3.0 59 1.1 christos 60 1.1 christos ix_x = 11 61 1.1 christos iy_y = 22.0 62 1.1 christos iz_z = 33.0 63 1.1 christos 64 1.1 christos call in ! stop-here-out 65 1.1 christos 66 1.1 christos end program common_test 67