// #target: macos-x64
module test;
import std;
macro foo(...)
{
	$vaexpr[0] = 2;
}

fn void main()
{
	int $x;
	foo($x);
	int y = $x;
}

/* #expect: test.ll

define void @test.main() #0 {
entry:
  %y = alloca i32, align 4
  store i32 2, ptr %y, align 4
  ret void
}
