repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd, druntime c8ae4adb2e, phobos 792c8b7c1.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr95981.f90
blob
7da6e9bd3dd52a6811fa79fc2bba96b56d184651
1
! { dg-do compile }
2
3
program
p
4
type
t
5
end type
6
class
(
t
) ::
x
(:)
! { dg-error "must be dummy, allocatable or pointer" }
7
type
(
t
) ::
y
(
size
(
x
,
1
))
! { dg-error "must be constant of INTEGER type" }
8
end
9