mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Stack object size limit error on a static object. #2476
This commit is contained in:
8
test/test_suite/statements/bit_static_local.c3
Normal file
8
test/test_suite/statements/bit_static_local.c3
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user