blob: 1b0636eb761d0fa06453763d0e1363b282d846ed [file] [edit]
#version 450
// Regression test: #pragma STDGL with fewer than 4 tokens must not OOB-read
// tokens[1]/tokens[3] in handlePragma() — fixed by checking tokens.size() >= 4
// before accessing them (ParseHelper.cpp).
#pragma STDGL
#pragma STDGL invariant
#pragma STDGL invariant(
void main() {}