[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / doconcurrent03.f90
blob45cbcc7a5737d108423eac3b298302236f14d039
1 ! RUN: not %flang_fc1 -fdebug-unparse-with-symbols %s 2>&1 | FileCheck %s
2 ! CHECK: Control flow escapes from DO CONCURRENT
3 ! CHECK: branch into loop body from outside
4 ! CHECK: the loop branched into
6 subroutine s(a)
7 integer i
8 real a(10)
9 do 10 concurrent (i = 1:10)
10 if (a(i) < 0.0) then
11 goto 20
12 end if
13 30 continue
14 a(i) = 1.0
15 10 end do
16 goto 40
17 20 a(i) = -a(i)
18 goto 30
19 40 continue
20 end subroutine s