mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
- Using named parameters with builtins would cause a crash. - In some cases, using missing identifiers with builtins would cause a crash. - Using `$defined` with function call missing arguments would cause a crash. - Adding @nostrip to a test function would crash. - Mixing struct splat, non-named params and named params would crash rather than to print an error. - Creating a char vector from bytes would crash. - Using $$wstr16 with an illegal argument would crash instead of printing an error.
6 lines
156 B
Plaintext
6 lines
156 B
Plaintext
fn void main()
|
|
{
|
|
foreach_r (void a : foo) // #error: 'void' is not a valid type for 'a', only runtime types with a known size may be used
|
|
{
|
|
}
|
|
} |