arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360]
[official-gcc.git] / gcc / testsuite / gfortran.dg / warn_unused_dummy_argument_5.f90
blobfa93f1d7ff2729952d7bb14dd33981968a7c35e3
1 ! { dg-do compile }
2 ! { dg-additional-options "-Wunused-dummy-argument" }
3 ! PR 91557 - this used to generate a bogus warning
4 ! Test case by Gerhard Steinmetz
5 program p
6 integer :: a, b
7 a = 1
8 call g
9 contains
10 subroutine g
11 integer :: x, y
12 call h (x, y)
13 if ( a > 0 ) y = y - 1
14 b = y - x + 1
15 end
16 end