Files
c3c/test/test_suite/struct/struct_too_large.c3
2025-12-29 22:41:42 +01:00

13 lines
184 B
Plaintext

import std;
struct Foo
{
int a;
int[int.max] b; // #error: Struct member 'b' would cause the struct to become too large
}
fn int main()
{
Foo c = (Foo){};
return 0;
}