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
/
pr95881.f90
blob
9f171764948a79f964e619190eb9802c891c5677
1
! { dg-do compile }
2
! { dg-options "-fcoarray=lib" }
3
! PR fortran/95881 - ICE in resolve_symbol, at fortran/resolve.c:15175
4
5
program
p
6
type
t
7
real
,
allocatable
::
a
[:]
8
end type
t
9
class
(
t
) ::
x
! { dg-error "must be dummy, allocatable or pointer" }
10
allocate
(
x
%
a
[*])
11
end