xref: /aosp_15_r20/external/skia/tests/sksl/errors/ArrayOfVoid.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker### Compilation failed:
2*c8dee2aaSAndroid Build Coastguard Worker
3*c8dee2aaSAndroid Build Coastguard Workererror: 1: type 'void' may not be used in an array
4*c8dee2aaSAndroid Build Coastguard Workervoid a[2];
5*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^
6*c8dee2aaSAndroid Build Coastguard Workererror: 2: type 'void' may not be used in an array
7*c8dee2aaSAndroid Build Coastguard Workervoid[2] b;
8*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^
9*c8dee2aaSAndroid Build Coastguard Workererror: 4: type 'void' may not be used in an array
10*c8dee2aaSAndroid Build Coastguard Workervoid[2] funcF() {}
11*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^
12*c8dee2aaSAndroid Build Coastguard Workererror: 4: function 'funcF' can exit without returning a value
13*c8dee2aaSAndroid Build Coastguard Workervoid[2] funcF() {}
14*c8dee2aaSAndroid Build Coastguard Worker                ^^
15*c8dee2aaSAndroid Build Coastguard Workererror: 5: type 'void' may not be used in an array
16*c8dee2aaSAndroid Build Coastguard Workervoid funcG() { void g[2]; }
17*c8dee2aaSAndroid Build Coastguard Worker               ^^^^^^^^^
18*c8dee2aaSAndroid Build Coastguard Workererror: 6: type 'void' may not be used in an array
19*c8dee2aaSAndroid Build Coastguard Workervoid funcH() { void[2] h; }
20*c8dee2aaSAndroid Build Coastguard Worker               ^^^^^^^
21*c8dee2aaSAndroid Build Coastguard Workererror: 7: type 'void' may not be used in an array
22*c8dee2aaSAndroid Build Coastguard Workervoid funcI() { void[2]; }
23*c8dee2aaSAndroid Build Coastguard Worker               ^^^^^^^
24*c8dee2aaSAndroid Build Coastguard Worker7 errors
25