xref: /aosp_15_r20/external/skia/resources/sksl/errors/ArrayOfVoid.rts (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Workervoid a[2];
2*c8dee2aaSAndroid Build Coastguard Workervoid[2] b;
3*c8dee2aaSAndroid Build Coastguard Worker
4*c8dee2aaSAndroid Build Coastguard Workervoid[2] funcF() {}
5*c8dee2aaSAndroid Build Coastguard Workervoid funcG() { void g[2]; }
6*c8dee2aaSAndroid Build Coastguard Workervoid funcH() { void[2] h; }
7*c8dee2aaSAndroid Build Coastguard Workervoid funcI() { void[2]; }
8*c8dee2aaSAndroid Build Coastguard Worker
9*c8dee2aaSAndroid Build Coastguard Worker/*%%*
10*c8dee2aaSAndroid Build Coastguard Workertype 'void' may not be used in an array
11*c8dee2aaSAndroid Build Coastguard Workertype 'void' may not be used in an array
12*c8dee2aaSAndroid Build Coastguard Workertype 'void' may not be used in an array
13*c8dee2aaSAndroid Build Coastguard Workerfunction 'funcF' can exit without returning a value
14*c8dee2aaSAndroid Build Coastguard Workertype 'void' may not be used in an array
15*c8dee2aaSAndroid Build Coastguard Workertype 'void' may not be used in an array
16*c8dee2aaSAndroid Build Coastguard Workertype 'void' may not be used in an array
17*c8dee2aaSAndroid Build Coastguard Worker*%%*/
18