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
lto: Remove random_seed from section name.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
bind_c_usage_32.f90
blob
c10b0abf707fcf2b454c8f2f1319344b98a7f89b
1
! { dg-do compile }
2
! PR 46020 - check for clear error message
3
! { dg-options "" }
4
FUNCTION
F_X
(
A
)
bind
(
c
,
name
=
'F_X'
)
! { dg-error "must have length 1" }
5
CHARACTER
*(*)
F_X
6
END FUNCTION
7
8
9
FUNCTION
F_Y
(
A
)
bind
(
c
,
name
=
'F_Y'
)
! { dg-error "must have length 1" }
10
CHARACTER
*(
2
)
F_Y
11
END FUNCTION
12
13