a456175a07
This was (crudely) automated with shell scripts: http://go/paste/5484300603490304 Change-Id: Ic9e1c93112772d303d1158eb26d995f27b439eba Bug: skia:12665 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/505637 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
16 lines
425 B
Plaintext
16 lines
425 B
Plaintext
uniform int value;
|
|
|
|
void main() {
|
|
while (true) switch (value) { default: continue; }
|
|
for (;;) switch (value) { case 5: continue; }
|
|
|
|
// Static switches are flattened out so they should not generate an error.
|
|
while (true) @switch (0) { default: continue; }
|
|
for (;;) @switch (5) { case 5: continue; }
|
|
}
|
|
|
|
/*%%*
|
|
continue statement cannot be used in a switch
|
|
continue statement cannot be used in a switch
|
|
*%%*/
|