summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/spv.do-while-continue-break.vert
blob: c085551e8b60a8092c5228b3bfff1cafe895ad84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#version 310 es
void main() {
  int i = 0;
  int A, B, C, D, E, F, G;
  do {
    A = 0;
    if (i == 2) {
      B = 1;
      continue;
      C = 2;
    }
    if (i == 5) {
      D = 3;
      break;
      E = 42;
    }
    F = 99;
  }  while (++i < 19);
  G = 12;
}