OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [goto_1.f] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! { dg-options "-std=legacy" }
3
! PR 18540
4
! Verify that old-style cross-block GOTOs work
5
      I = 1
6
      GO TO 2
7
      IF (I .EQ. 0) THEN
8
 2       IF (I .NE. 1) CALL ABORT
9
         I = 0
10
         GOTO 3
11
      ELSE
12
 3       I = 2
13
      END IF
14
      IF (I .NE. 2) CALL ABORT
15
      END

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.