// #target: macos-x64
module reassign;

fn void test()
{
    var $Foo = double;
    $Foo = int;
    $Foo hello;
}

/* #expect: reassign.ll

  %hello = alloca i32, align 4
  store i32 0, ptr %hello, align 4
  ret void