Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/coarray_data_1.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
! { dg-do run } ! { dg-options "-fcoarray=lib -lcaf_single " } ! { dg-additional-options "-latomic" { target libatomic_available } } ! PR 71066 - this used to ICE program p real :: a(2,2)[*] integer :: b(2,2)[*] data a /4*0.0/ data b /1234, 2345, 3456, 4567/ if (any (a /= 0.0)) stop 1 if (any (b /= reshape([1234, 2345, 3456, 4567],[2,2]))) stop 2 end