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 target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
use_16.f90
blob
7b22c415033d1dcbd787e017a4e8616b75e6219e
1
! { dg-do compile }
2
!
3
! PR fortran/31600
4
!
5
module
a
6
implicit none
7
contains
8
integer function
bar
()
9
bar
=
42
10
end function
11
end module
a
12
13
use
a
! { dg-error "Symbol 'bar' at \\(1\\) conflicts with symbol from module 'a'" }
14
implicit none
15
integer
::
bar
! { dg-error "Symbol 'bar' at \\(1\\) conflicts with symbol from module 'a'" }
16
end