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
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
associate_30.f90
blob
ad15d8bf576f36a9ee6875b0cce5beeb76a3ae12
1
! { dg-do compile }
2
!
3
! Test the fix for PR67543
4
!
5
! Contributed by Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de>
6
!
7
subroutine
s1
8
associate
(
x
=>
null
())
! { dg-error "cannot be NULL()" }
9
end
associate
10
end subroutine
11
12
subroutine
s2
13
associate
(
x
=> [
null
()])
! { dg-error "has no type" }
14
end
associate
15
end subroutine