Added more tests
This commit is contained in:
6
tests/programs/out-of-memory.q
Normal file
6
tests/programs/out-of-memory.q
Normal file
@ -0,0 +1,6 @@
|
||||
import mem
|
||||
|
||||
main() {
|
||||
address := mem.alloc(1024 * 1024 * 1024 * 1024)
|
||||
assert address < 0
|
||||
}
|
Reference in New Issue
Block a user