skia2/resources/sksl/errors/VoidVariable.rts
John Stiles c29e37ad4c Rename ES2 error tests 'T' through 'Z' to .rts.
Change-Id: I528d2b7a53748077f2dd7e7e04927d2a6b78ac8f
Bug: skia:13042
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/523429
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Arman Uguray <armansito@google.com>
Commit-Queue: Arman Uguray <armansito@google.com>
2022-03-22 19:50:29 +00:00

12 lines
211 B
Plaintext

// 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
*%%*/