//META: generated=true
//META: model=claude-opus-5[1m]
//META: generated_at=2026-08-04T00:00:00+00:00
//META: source_commit=7e725f15572c6589ee6d738a8856fb3348f11617
//META: doc_ref=docs/generated/design/pipeline/02-parse-ast.md#the-major-node-families
//META: doc_section_digest=90f68d89058e95e927dbc5ffd876802120cff1e5fe6639465168476f05517709
//META: purpose=Assignment is parsed as a right-associative Expr, so `a = b = c = 7` reduces as `a = (b = (c = 7))` and all three names receive the value.
//META: intent=functional
//META: pipeline_stage=parse
//META: warning=Auto-generated. May drift from source. Do not edit by hand.

// If assignment were left-associative the leftmost `=` would bind
// first and the chain would fail to parse (or assign different
// values). The fact that all three variables end up holding 7
// confirms the right-associative Expr shape.

//TEST:INTERPRET(filecheck=CHECK):

void main()
{
    int a; int b; int c;
    a = b = c = 7;
    // CHECK: vals=7 7 7
    printf("vals=%d %d %d\n", a, b, c);
}
