unplugged-system/external/skia/resources/sksl/errors/SwitchWithContinueInside.sksl

12 lines
246 B
Plaintext
Raw Normal View History

uniform int value;
void main() {
while (true) switch (value) { default: continue; }
for (;;) switch (value) { case 5: continue; }
}
/*%%*
continue statement cannot be used in a switch
continue statement cannot be used in a switch
*%%*/