aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/algol68/compile/error-coercion-2.a68
blob: bb8de3064b5789b1ca16c9293130897931c4960f (plain)
1
2
3
4
5
6
# { dg-options "-fstropping=upper" }  #

# This is Example 4.2.6c in McGETTRICK[78].  #
BEGIN []STRUCT([]INT a) r = (1,2,3); # { dg-error "cannot be coerced" } #
      SKIP
END