Added more tests
This commit is contained in:
parent
c415f0250a
commit
553a673b16
6 changed files with 52 additions and 8 deletions
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue