//META: generated=true
//META: model=claude-opus-4-7
//META: generated_at=2026-05-20T18:00:00+00:00
//META: source_commit=ed8f508fc647eecd788a4bd2bb63a4a6f5c80246
//META: doc_ref=docs/generated/design/name-resolution/visibility.md#per-keyword-semantics
//META: doc_section_digest=5ed89b211beca6ec6df445f7d63a9889da0768b35a383df6c7c268b0424663dc
//META: purpose=A `public` decl is always visible; `isDeclVisibleFromScope` short-circuits on Public and returns true.
//META: intent=functional
//META: pipeline_stage=check
//META: warning=Auto-generated. May drift from source. Do not edit by hand.

// Per-keyword semantics: `public` is universally visible. The
// predicate's first branch returns true unconditionally.

//TEST:INTERPRET(filecheck=CHECK):

public int exposed() { return 7; }

void main()
{
    // CHECK: exposed=7
    printf("exposed=%d\n", exposed());
}
