mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
7 lines
265 B
C
7 lines
265 B
C
define @Foo() = { @inline }; // #error: At least one parameter was expected
|
|
define @Bar = { @inline };
|
|
|
|
fn void test1() @Foo { }
|
|
fn void test2() @Foo() { } // #error: An expression was
|
|
fn void test3() @Bar { }
|
|
fn void test4() @Bar() { } // #error: An expression was
|