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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [block_6.f08] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run { xfail *-*-* } }
2
! { dg-options "-std=f2008 -fall-intrinsics" }
3
 
4
! Check for correct scope of variables that are implicit typed within a BLOCK.
5
! This is not yet implemented, thus XFAIL'ed the test.
6
 
7
PROGRAM main
8
  IMPLICIT INTEGER(a-z)
9
 
10
  BLOCK
11
    ! a gets implicitly typed, but scope should not be limited to BLOCK.
12
    a = 42
13
  END BLOCK
14
 
15
  ! Here, we should still access the same a that was set above.
16
  IF (a /= 42) CALL abort ()
17
END PROGRAM main

powered by: WebSVN 2.1.0

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