aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/algol68/execute/identity-declaration-multiple-3.a68
blob: 2d3b8f3c7bee592f369f4bf7beb79c035144882a (plain)
1
2
3
4
5
6
# { dg-options "-fstropping=upper" }  #
BEGIN [3]INT a := (1,2,3);
      REF[]INT nn = a; # No copy happens here.  #
      nn[1] := 200;
      ASSERT (a[1] = 200)
END