//META: generated=true
//META: model=claude-opus-4-7
//META: generated_at=2026-05-21T08:00:00+00:00
//META: source_commit=2964da04de136705348240f2bd9affa5f3818226
//META: doc_ref=source/slang/slang-diagnostics.lua
//META: doc_section_digest=3d0ad5ce92db99284a672b5382503de80a6a6b01581095e1c2f26ad8cc571c58
//META: purpose=Fires diagnostic E31217 (unrecognized-glsl-layout-qualifier-or-requires-assignment) -- unrecognized GLSL layout qualifier
//META: intent=negative
//META: pipeline_stage=check
//META: catalog_code=31217
//META: catalog_name=unrecognized-glsl-layout-qualifier-or-requires-assignment
//META: warning=Auto-generated. May drift from source. Do not edit by hand.

//DIAGNOSTIC_TEST:SIMPLE(diag=CHECK,non-exhaustive):

layout(set) int x;
[shader("compute")][numthreads(1,1,1)]
void main() {}


// CHECK: E31217
