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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
MODULE globals
3
  TYPE :: type1
4
     sequence
5
     integer :: x
6
  END TYPE type1
7
  TYPE (type1) :: pdm_bps
8
  common /co/ pdm_bps
9
END module globals
10
BLOCK DATA
11
   use globals
12
END BLOCK DATA
13
 
14
program main
15
  use globals
16
  common /co/ pdm_bps ! { dg-error "already in a COMMON block" }
17
end program main
18
! { dg-final { cleanup-modules "globals" } }

powered by: WebSVN 2.1.0

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