mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
13 lines
179 B
Plaintext
13 lines
179 B
Plaintext
import std;
|
|
|
|
macro @_macro(#i)
|
|
{
|
|
if (#i == 0) { return; }
|
|
return @_macro(#i - 1); // #error: Failure evaluating macro, max call depth reached
|
|
}
|
|
|
|
fn void main()
|
|
{
|
|
@_macro(1);
|
|
}
|