blob: 0b62c77b783fe8c1d08383fd8b241d21066beccf [file] [log] [blame] [edit]
SKIP: FAILED
#ifndef WGSL_SPEC_CONSTANT_1234
#error spec constant required for constant id 1234
#endif
static const int o = WGSL_SPEC_CONSTANT_1234;
[numthreads(1, 1, 1)]
void main() {
return;
}
/tmp/tint_mwzbqN:2:2: error: spec constant required for constant id 1234
#error spec constant required for constant id 1234
^