Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / resources / sksl / errors / SwitchWithContinueInside.sksl
1 uniform int value;
2
3 void main() {
4     while (true) switch (value) { default: continue; }
5     for (;;) switch (value) { case 5: continue; }
6
7     // Static switches are flattened out so they should not generate an error.
8     while (true) @switch (0) { default: continue; }
9     for (;;) @switch (5) { case 5: continue; }
10 }
11
12 /*%%*
13 continue statement cannot be used in a switch
14 continue statement cannot be used in a switch
15 *%%*/