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

BEGIN INT a := 10;
      LONG INT l := a; # { dg-error "coerced" } #
      l
END