mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
220 B
Plaintext
12 lines
220 B
Plaintext
macro @foo(..., bool a = true, bool b = false)
|
|
{
|
|
return @foo2((void*)null, $vasplat, a: a, b: b);
|
|
}
|
|
|
|
macro @foo2(x, ..., bool a = true, bool b = false)
|
|
{ }
|
|
|
|
fn void main()
|
|
{
|
|
@foo(1, 2, 3, 4, a: true, b: false);
|
|
} |