mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
13 lines
184 B
Plaintext
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;
|
|
}
|