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
Add qdf24xx base tuning support.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
func_decl_5.f90
blob
9cd4735374d966371acd67d8c156970f975a0b3b
1
! { dg-do compile }
2
! { dg-options "-c" }
3
!
4
! Functions shall not have an initializer.
5
!
6
! Some tests were moved from func_decl_4.f90 to here.
7
!
8
9
function
f1
()
! { dg-error "cannot have an initializer" }
10
integer
::
f1
=
42
11
end function
12
13
function
f2
()
RESULT
(
r
)
! { dg-error "cannot have an initializer" }
14
integer
::
r
=
42
15
end function