Fixed out of memory test

This commit is contained in:
Eduard Urbach 2024-08-12 15:44:09 +02:00
parent 81b0cd813c
commit fdb47c9045
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ Build a Linux x86-64 ELF executable from `examples/hello` and run it:
### Platform
- [x] Linux
- [ ] Mac
- [x] Mac
- [ ] Windows
## Documentation

View File

@ -2,5 +2,5 @@ import mem
main() {
address := mem.alloc(1024 * 1024 * 1024 * 1024)
assert address < 0
assert address < 0 || address == 12
}