OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [g77/] [19990905-1.f] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
c { dg-do compile }
2
c
3
c  g77 gave error
4
c  19990905-1.f: In subroutine `x':
5
c  19990905-1.f:15: 
6
c           common /foo/n
7
c                   1
8
c  19990905-1.f:18: (continued):
9
c           call foo(a(1))
10
c                2
11
c  Invalid declaration of or reference to symbol `foo' at (2) [initially seen at (1)]
12
* =foo7.f in Burley's g77 test suite.
13
      subroutine x
14
      real a(n)
15
      common /foo/n  ! { dg-error "is already being used as a COMMON" }
16
      continue
17
      entry y(a)
18
      call foo(a(1)) ! { dg-error "is already being used as a COMMON" }
19
      end

powered by: WebSVN 2.1.0

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