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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
associate_2.f95
blob
a41398d7850c82ba9b926fe1272629a714060d85
1
! { dg-do compile }
2
! { dg-options "-std=f95" }
3
4
! PR fortran/38936
5
! Test that F95 rejects ASSOCIATE.
6
7
PROGRAM
main
8
IMPLICIT NONE
9
10
ASSOCIATE
(
a
=>
5
)
! { dg-error "Fortran 2003" }
11
END
ASSOCIATE
12
END PROGRAM
main