Files
c3c/test/test_suite/macros/macro_body_as_value.c3

12 lines
130 B
Plaintext

macro @foo4(;@body)
{
@body; // #error: must be followed by ()
}
fn void test()
{
@foo4()
{
int x = 0;
};
}