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
/
dec_parameter_3.f90
blob
92f0f61bb6606ae4937310331ff5ff60a66e67c1
1
! { dg-do compile }
2
! { dg-options "-ffree-form -std=gnu" }
3
!
4
! Test warnings for DEC-style PARAMETER statements with std=gnu.
5
!
6
7
subroutine
sub
()
8
implicit real
(
8
) (
A
-
Z
)
9
parameter
pi
=
3.1415926535d0
! { dg-warning "Legacy Extension: PARAMETER" }
10
print
*,
pi
11
end subroutine
12
13
end