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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! tests various allowed variants of the common statement
3
! inspired by PR 18869
4
 
5
! blank common block
6
      common x
7
      common y, z
8
      common // xx
9
 
10
! one named common block on a line
11
      common /a/ e
12
 
13
! appending to a common block
14
      common /a/ g
15
 
16
! several named common blocks on a line
17
      common /foo/ a, /bar/ b      ! note 'a' is also the name of the
18
                                   ! above common block
19
      common /baz/ c /foobar/ d, /bazbar/ f
20
 
21
      end

powered by: WebSVN 2.1.0

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