Add test for string reading off end of extram

This commit is contained in:
Toby Jaffey 2025-12-13 23:24:24 +00:00
parent 2039de73f2
commit 6429d2cdaf
3 changed files with 36 additions and 0 deletions

View file

@ -73,6 +73,10 @@ void main(void) {
// pass a slice beyond end of extram
printbuf((uint32_t)UVM32_EXTRAM_BASE + 32, 64); // extram has been shrunk, this is now out of bounds,
} break;
case TEST14: {
// pass a string beyond end of extram
println((uint32_t)UVM32_EXTRAM_BASE); // extram has been shrunk, this is now out of bounds,
} break;
}
}