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

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