blob: 0e41f35ada90d72740fc8e1e200f865a9a7ced8c [file] [log] [blame]
John Kessenich9839e242013-09-26 00:45:21 +00001#version 120
2
3int a;
4int b, c;
5int d1 = 1;
6int e2 = 2, f;
7int g, h3 = 3;
8
9int i4[4];
10int j, k5[5];
11int m6[6], m7[7];
12int n8[8], p;
13
14int ii4[4] = int[](1, 2, 3, 4);
15int ij, ik5[5] = int[](5, 6, 7, 8, 9);
16int im2[2] = int[](10, 11), im3[3] = int[](12, 13, 14);
17int in8[4] = int[](21, 22, 23, 24), ip;
18
19void vi4[4] = int[](1, 2, 3, 4);
20void vj, vk5[5] = int[](5, 6, 7, 8, 9);
21void vm2[2] = int[](10, 11), vm3[3] = int[](12, 13, 14);
22void vn8[4] = int[](21, 22, 23, 24), vp;
23
John Kessenichf2ee3dd2013-09-28 04:02:08 +000024const int cii4[4] = int[](1, 2, 3, 4);
25const int cij, cik5[5] = int[](5, 6, 7, 8, 9);
26const int cim2[2] = int[](10, 11), cim3[3] = int[](12, 13, 14);
27const int cin8[4] = int[](21, 22, 23, 24), cip;
28
29uniform int uii4[4] = int[](1, 2, 3, 4);
30uniform int uij, uik5[5] = int[](5, 6, 7, 8, 9);
31uniform int uim2[2] = int[](10, 11), uim3[3] = int[](12, 13, 14);
32uniform int uin8[4] = int[](21, 22, 23, 24), uip;
33
John Kessenich9839e242013-09-26 00:45:21 +000034int gl_vi4[4] = int[](1, 2, 3, 4);
35int gl_vj, gl_vk5[5] = int[](5, 6, 7, 8, 9);
36int gl_vm2[2] = int[](10, 11), gl_vm3[3] = int[](12, 13, 14);
37int gl_vn8[4] = int[](21, 22, 23, 24), gl_vp;
38
39void main()
40{
41 while (bool cond = b < c);
42 while (int icond = b);
43 while (bool gl_cond = b < c);
44}