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
c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr102816.f90
blob
46831743b2bf1bef201f041adea622d6b18c9e85
1
! { dg-do compile }
2
! PR fortran/102816
3
4
program
p
5
type
t
6
integer
::
a
([
2
])
! { dg-error "must be scalar" }
7
end type
8
type
(
t
) ::
x
=
t
([
3
,
4
])
! { dg-error "Bad array spec of component" }
9
end