File: outofrange.a

package info (click to toggle)
acme 1%3A0.97~svn20211115%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,016 kB
  • sloc: ansic: 9,670; python: 207; sh: 114; makefile: 101
file content (14 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;ACME 0.97
	*=$1000
	; these must throw errors:
	!by -129, 256
	!wo -32769, 65536
	!24 -0x800001, 16777216
	; 32-bit values are not range checked atm:
	!32 -0x80000001, 0x100000000

	; these must work:
	!by -128, 255
	!wo -32768, 65535
	!24 -0x800000, 16777215
	!32 -0x80000000, 0xffffffff