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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
verify_2.f90
blob
705d775047fc2e9b334ee61660a16c55e5086e59
1
! { dg-do run }
2
program
verify_2
3
character
(
len
=
3
)
s1
,
s2
4
s1
=
'abc'
5
s2
=
''
6
if
(
verify
(
'ab'
,
''
) /=
1
)
call
abort
7
if
(
verify
(
s1
,
s2
) /=
1
)
call
abort
8
if
(
verify
(
'abc'
,
''
, .
true
.) /=
3
)
call
abort
9
if
(
verify
(
s1
,
s2
, .
true
.) /=
3
)
call
abort
10
end program
verify_2
11