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

15 lines
219 B
Plaintext

import std;
macro void example(String... x)
{
$for var $i = 0; $i < $vacount; $i++: // #error: can only be used inside of a macro with untyped
io::printn($vaarg[$i]);
$endfor
}
fn void main()
{
example();
}