SKIP: FAILED

#ifndef WGSL_SPEC_CONSTANT_1234
#error spec constant required for constant id 1234
#endif
static const float o = WGSL_SPEC_CONSTANT_1234;

[numthreads(1, 1, 1)]
void main() {
  return;
}
/tmp/tint_UepNPT:2:2: error: spec constant required for constant id 1234
#error spec constant required for constant id 1234
 ^