aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/algol68/execute/case-clause-1.a68
blob: 71566edf9154007e2fad7641a69ee4c7f77b7a9c (plain)
1
2
3
4
5
6
7
8
9
10
# { dg-options "-fstropping=upper" }  #
BEGIN INT j := 1;
      ASSERT ((j|10,20,30|40) = 10);
      j := 2;
      ASSERT ((j|10,20,30|40) = 20);
      j := 3;
      ASSERT ((j|10,20,30|40) = 30);
      j := 100;
      ASSERT ((j|10,20,30|40) = 40)
END