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
hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr78739.f90
blob
4b36b76ab21aef784c0e4fd6591a42ffe7f0f05e
1
! { dg-do compile }
2
! { dg-options "-w" }
3
! PR fortran/78739
4
! Code contributed Gerhard Steinmetz
5
function
f
(
n
)
6
f
() =
n
! { dg-error "conflicts with function name" }
7
end
8
9
function
g
()
10
g
(
x
) =
x
! { dg-error "conflicts with function name" }
11
end
12
13
function
a
()
! This should cause an error, but cannot be easily detected!
14
a
() =
x
15
end