module prec;

fn void test()
{
    int i = 1;
    int j = 2;
    int k = 3;
    int l = i = j = k;
}

/* #expect: prec.ll

  %i = alloca i32, align 4
  %j = alloca i32, align 4
  %k = alloca i32, align 4
  %l = alloca i32, align 4
  store i32 1, ptr %i, align 4
  store i32 2, ptr %j, align 4
  store i32 3, ptr %k, align 4
  %0 = load i32, ptr %k, align 4
  store i32 %0, ptr %j, align 4
  store i32 %0, ptr %i, align 4
  store i32 %0, ptr %l, align 4