1! RUN: %S/test_any.sh %s %flang %t
2! negative test -- invalid labels, out of range
3
4! EXEC: ${F18} -funparse-with-symbols %s 2>&1 | ${FileCheck} %s
5! CHECK: Label '50' was not found
6! CHECK: Label '55' is not in scope
7! CHECK: Label '70' is not a branch target
8! CHECK: Control flow use of '70'
9
10subroutine sub00(a,b,n,m)
11  real a(n,m)
12  real b(n,m)
13  if (n .ne. m) then
14     goto 50
15  end if
166 n = m
17end subroutine sub00
18
19subroutine sub01(a,b,n,m)
20  real a(n,m)
21  real b(n,m)
22  if (n .ne. m) then
23     goto 55
24  else
2555   continue
26  end if
2760 n = m
28end subroutine sub01
29
30subroutine sub02(a,b,n,m)
31  real a(n,m)
32  real b(n,m)
33  if (n .ne. m) then
34     goto 70
35  else
36     return
37  end if
3870 FORMAT (1x,i6)
39end subroutine sub02
40