mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
9 lines
141 B
C
9 lines
141 B
C
fn void foo() @init
|
|
{
|
|
return; // This is fine
|
|
}
|
|
|
|
fn int foo2() @init // #error: '@init' and '@finalizer' functions may only
|
|
{
|
|
return 123;
|
|
} |