skia2/resources/sksl/errors/ContinueOutsideLoop.rts
John Stiles 2fdcca2777 Rename ES2 error tests from 'C' through 'G' to .rts.
A few tests received minor tweaks to make them Runtime Effect-friendly.

Change-Id: I9b4f66b0974c41d38324dfbb31ac9849338f600a
Bug: skia:13042
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/523186
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Arman Uguray <armansito@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-03-21 22:50:58 +00:00

16 lines
240 B
Plaintext

void outside_for() {
for (int x=0; x<10; ++x) {}
continue;
}
void inside_switch() {
switch (1) {
default: continue;
}
}
/*%%*
continue statement must be inside a loop
continue statement must be inside a loop
*%%*/