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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
C { dg-do compile }
2
C Tests the fix for the regression PR34872, in which the re-matching of
3
C the function declaration made a mess if the first executable statement
4
C had a label.
5
      CHARACTER FUNCTION s()
6
   10 CONTINUE
7
      GOTO 10
8
      s = ' '
9
      END FUNCTION s
10
 
11
      CHARACTER FUNCTION t()
12
   10 format ("q")
13
      write (t, 10)
14
      END FUNCTION t
15
 
16
      character t
17
      if (t() .ne. "q") call abort ()
18
      end

powered by: WebSVN 2.1.0

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