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
/
argument_checking_21.f90
blob
d4f2ddf67f37dc1b7178d38b86889403ca235d91
1
! { dg-do compile }
2
! { dg-options "-fallow-argument-mismatch" }
3
program
main
4
real
::
a
(
10
),
b
(
10
,
10
)
5
! This should be caugt
6
call
foo
(
1.0
)
! { dg-warning "Rank mismatch" }
7
call
foo
(
b
)
! { dg-warning "Rank mismatch" }
8
! This is OK
9
call
bar
(
a
)
10
call
bar
(
b
)
11
12
end program
main