OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/fortran/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
zero_sized_5.f90
1
! { dg-do run }
2
! These used to segfault.
3
program main
4
real, dimension(1,0) :: a, b, c
5
integer, dimension(0) :: j
6
a = 0
7
c = 0
8
b = cshift (a,1)
9
b = cshift (a,j)
10
b = eoshift (a,1)
11
b = eoshift (a,(/1/))
12
b = eoshift (a,1,boundary=c(1,:))
13
b = eoshift (a, j, boundary=c(1,:))
14
15
end program main