ieee_9.f90: XFAIL on arm*-*-gnueabi[hf].
[official-gcc.git] / gcc / testsuite / gfortran.dg / warn_argument_mismatch_1.f90
blob19097a7e83889e89f679ed01b115dd1115e7f09d
1 ! { dg-do compile }
2 ! { dg-options "-std=legacy -Wno-argument-mismatch" }
4 ! No warnings should be output here with -Wno-argument-mismatch.
7 subroutine s1(x)
8 implicit none
9 integer, intent(in) :: x
10 print *, x
11 end subroutine
13 subroutine s2(x)
14 implicit none
15 integer, intent(in) :: x(1)
16 print *, x
17 end subroutine
19 subroutine s3(x)
20 implicit none
21 integer, intent(in) :: x(2)
22 print *, x
23 end subroutine
25 implicit none
26 integer :: x, y(1)
27 real :: r
29 call s1(r)
30 call s1(y)
31 call s2(x)
32 call s3(y)
34 end