lto: Remove random_seed from section name.
[official-gcc.git] / gcc / testsuite / gfortran.dg / argument_checking_21.f90
blobd4f2ddf67f37dc1b7178d38b86889403ca235d91
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)
12 end program main