2018-08-21 07:47:18 +08:00
|
|
|
|
2020-06-27 02:28:43 +08:00
|
|
|
! RUN: not %f18 -funparse-with-symbols %s 2>&1 | FileCheck %s
|
2020-04-04 03:05:03 +08:00
|
|
|
! CHECK: Label '30' is not a branch target
|
|
|
|
! CHECK: Control flow use of '30'
|
|
|
|
! CHECK: Label '10' is not in scope
|
|
|
|
! CHECK: Label '20' was not found
|
|
|
|
! CHECK: Label '60' was not found
|
2018-08-21 07:47:18 +08:00
|
|
|
|
|
|
|
subroutine sub00(n,m)
|
|
|
|
30 format (i6,f6.2)
|
|
|
|
if (n .eq. m) then
|
|
|
|
10 print *,"equal"
|
|
|
|
end if
|
|
|
|
call sub01(n,*10,*20,*30)
|
|
|
|
write (*,60) n, m
|
|
|
|
end subroutine sub00
|