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
Fix warnings occured during profiledboostrap on
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
binding_label_tests_23.f90
blob
ba9e61550f4d589d1a02f544c6cb4c0f18189fb7
1
! { dg-do run }
2
!
3
! PR fortran/48858
4
!
5
integer function
foo
(
x
)
6
integer
::
x
7
call
abort
()
8
foo
=
99
9
end function
foo
10
11
integer function
other
()
bind
(
C
,
name
=
"bar"
)
12
other
=
42
13
end function
other
14
15
program
test
16
interface
17
integer function
foo
()
bind
(
C
,
name
=
"bar"
)
18
end function
foo
19
end interface
20
if
(
foo
() /=
42
)
call
abort
()
! Ensure that the binding name is all what counts
21
end program
test