aboutsummaryrefslogtreecommitdiff
path: root/resources/sksl/errors/VoidVariable.rts
blob: a48b15e2d2e556401b1b3d0713b0dc209261b360 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Expect 3 errors
void func();

void a;
void b = func();

/*%%*
variables of type 'void' are not allowed
variables of type 'void' are not allowed
global variable initializer must be a constant expression
*%%*/