mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
184 B
Plaintext
12 lines
184 B
Plaintext
module test;
|
|
fn VoidFn foo()
|
|
{
|
|
return fn void() {};
|
|
}
|
|
|
|
fn void main()
|
|
{
|
|
foo() @inline ();
|
|
foo() @inline (foo()); // #error: This argument would exceed the number of parameters
|
|
}
|