Files
c3c/test/test_suite/attributes/attribute_params.c3

7 lines
259 B
Plaintext

def @Foo() = { @inline }; // #error: At least one parameter was expected
def @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