mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Passing different types to arg 1 and 2 for $$matrix_transpose would trigger an assert. - Zero init of optional compile time variable would crash the compiler. - Using multiple declaration for generics in generic module would fail. - Defining an extern const without a type would crash rather than print an error. - Typedef followed by brace would trigger an assert. - Union with too big member would trigger an assert.
6 lines
124 B
Plaintext
6 lines
124 B
Plaintext
fn int main()
|
|
{
|
|
int[<6>] c = 2;
|
|
c = $$matrix_transpose(c, 0x10, 3); // #error: Expected row * col to equal 6
|
|
return 0;
|
|
} |