Stack object size limit error on a static object. #2476

This commit is contained in:
Christoffer Lerno
2025-09-12 17:11:25 +02:00
parent 6aff6d66de
commit e6b10ee00c
3 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
module test;
fn int main()
{
static char[(1024 * mem::KB) + 1] a;
tlocal char[(1024 * mem::KB) + 1] b;
return 0;
}