aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/algol68/compile/warning-scope-1.a68
blob: 99ae973fe90a97209fcac034cc26999172919477 (plain)
1
2
3
4
5
6
7
8
9
# { dg-options "-fstropping=upper" }  #

# Potential scope violation warnings are disabled by default.  #
BEGIN PROC increase = (REF INT i) REF INT:
      BEGIN INT j := i;
            j # Inhibited warning.  #
      END;
      increase (LOC INT)
END