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
2011-05-23 Tom de Vries <tom@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
associate_4.f08
blob
c336af2ab13c0b1941f0ec0a78e73ef170698a27
1
! { dg-do compile }
2
! { dg-options "-std=f2008 -fcoarray=single" }
3
4
! PR fortran/38936
5
! Check for error with coindexed target.
6
7
PROGRAM main
8
IMPLICIT NONE
9
INTEGER :: a[*]
10
11
ASSOCIATE (x => a[1]) ! { dg-error "must not be coindexed" }
12
END PROGRAM main