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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [data_constraints_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
! { dg-options "-std=f95" }
3
! Tests constraints for variables in a data statement that are commonly
4
! relaxed.
5
!
6
! Contributed by Paul Thomas 
7
!
8
  common // a
9
  common /b/ c
10
  integer d
11
  data a /1/            ! { dg-error "common block variable" }
12
  data c /2/            ! { dg-error "common block variable" }
13
  data d /3/
14
  data d /4/            ! { dg-error " re-initialization" }
15
end

powered by: WebSVN 2.1.0

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