1# WARNING: This file is auto-generated. Do NOT modify it manually, but rather
2# modify the generating script file. Otherwise changes will be lost!
3
4case operator_modulo
5	expect compile_fail
6	values {}
7
8	both ""
9		precision mediump float;
10		precision mediump int;
11
12		${DECLARATIONS}
13
14		void main()
15		{
16			${SETUP}
17			int value = 100;
18			value % 1;
19			${OUTPUT}
20		}
21	""
22end
23case operator_bitwise_not
24	expect compile_fail
25	values {}
26
27	both ""
28		precision mediump float;
29		precision mediump int;
30
31		${DECLARATIONS}
32
33		void main()
34		{
35			${SETUP}
36			int value = 100;
37			value = ~value;
38			${OUTPUT}
39		}
40	""
41end
42case operator_bitwise_shift_left
43	expect compile_fail
44	values {}
45
46	both ""
47		precision mediump float;
48		precision mediump int;
49
50		${DECLARATIONS}
51
52		void main()
53		{
54			${SETUP}
55			int value = 100;
56			value << 1;
57			${OUTPUT}
58		}
59	""
60end
61case operator_bitwise_shift_right
62	expect compile_fail
63	values {}
64
65	both ""
66		precision mediump float;
67		precision mediump int;
68
69		${DECLARATIONS}
70
71		void main()
72		{
73			${SETUP}
74			int value = 100;
75			value >> 1;
76			${OUTPUT}
77		}
78	""
79end
80case operator_bitwise_and
81	expect compile_fail
82	values {}
83
84	both ""
85		precision mediump float;
86		precision mediump int;
87
88		${DECLARATIONS}
89
90		void main()
91		{
92			${SETUP}
93			int value = 100;
94			value & 1;
95			${OUTPUT}
96		}
97	""
98end
99case operator_bitwise_xor
100	expect compile_fail
101	values {}
102
103	both ""
104		precision mediump float;
105		precision mediump int;
106
107		${DECLARATIONS}
108
109		void main()
110		{
111			${SETUP}
112			int value = 100;
113			value ^ 1;
114			${OUTPUT}
115		}
116	""
117end
118case operator_bitwise_or
119	expect compile_fail
120	values {}
121
122	both ""
123		precision mediump float;
124		precision mediump int;
125
126		${DECLARATIONS}
127
128		void main()
129		{
130			${SETUP}
131			int value = 100;
132			value | 1;
133			${OUTPUT}
134		}
135	""
136end
137case operator_assign_modulo
138	expect compile_fail
139	values {}
140
141	both ""
142		precision mediump float;
143		precision mediump int;
144
145		${DECLARATIONS}
146
147		void main()
148		{
149			${SETUP}
150			int value = 100;
151			value %= 1;
152			${OUTPUT}
153		}
154	""
155end
156case operator_assign_shift_left
157	expect compile_fail
158	values {}
159
160	both ""
161		precision mediump float;
162		precision mediump int;
163
164		${DECLARATIONS}
165
166		void main()
167		{
168			${SETUP}
169			int value = 100;
170			value <<= 1;
171			${OUTPUT}
172		}
173	""
174end
175case operator_assign_shift_right
176	expect compile_fail
177	values {}
178
179	both ""
180		precision mediump float;
181		precision mediump int;
182
183		${DECLARATIONS}
184
185		void main()
186		{
187			${SETUP}
188			int value = 100;
189			value >>= 1;
190			${OUTPUT}
191		}
192	""
193end
194case operator_assign_and
195	expect compile_fail
196	values {}
197
198	both ""
199		precision mediump float;
200		precision mediump int;
201
202		${DECLARATIONS}
203
204		void main()
205		{
206			${SETUP}
207			int value = 100;
208			value &= 1;
209			${OUTPUT}
210		}
211	""
212end
213case operator_assign_xor
214	expect compile_fail
215	values {}
216
217	both ""
218		precision mediump float;
219		precision mediump int;
220
221		${DECLARATIONS}
222
223		void main()
224		{
225			${SETUP}
226			int value = 100;
227			value ^= 1;
228			${OUTPUT}
229		}
230	""
231end
232case operator_assign_or
233	expect compile_fail
234	values {}
235
236	both ""
237		precision mediump float;
238		precision mediump int;
239
240		${DECLARATIONS}
241
242		void main()
243		{
244			${SETUP}
245			int value = 100;
246			value |= 1;
247			${OUTPUT}
248		}
249	""
250end
251