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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [rank_4.f90] - 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 compile }
2
! { dg-options "-std=f2008ts -fdump-tree-original" }
3
!
4
! PR fortran/48820
5
!
6
 
7
program test_rank
8
  implicit none
9
  intrinsic :: rank
10
 
11
  integer :: a
12
  real, allocatable :: b(:,:)
13
 
14
  if (rank(a) /= 0) call not_existing()
15
  if (rank (b) /= 2) call not_existing()
16
end program test_rank
17
 
18
! { dg-final { scan-tree-dump-times "not_existing" 0 "original" } }
19
! { dg-final { cleanup-tree-dump "original" } }

powered by: WebSVN 2.1.0

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