Files
c3c/test/test_suite/compile_time/ct_left_hand_assign.c3t
2025-01-23 00:00:22 +01:00

23 lines
197 B
Plaintext

// #target: macos-x64
module foo;
import std;
macro @foo(#arg)
{
#arg++;
}
module bar;
import foo;
fn void main()
{
int $c = 0;
foo::@foo($c);
}
/* #expect: bar.ll
entry:
ret void
}