Fixed out of memory test
This commit is contained in:
parent
81b0cd813c
commit
fdb47c9045
2 changed files with 2 additions and 2 deletions
|
@ -2,5 +2,5 @@ import mem
|
|||
|
||||
main() {
|
||||
address := mem.alloc(1024 * 1024 * 1024 * 1024)
|
||||
assert address < 0
|
||||
assert address < 0 || address == 12
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue