skia2/tests/sksl/errors/BadIndex.sksl
John Stiles 6798e5d0d1 Migrate SkSL error tests to golden outputs.
Change-Id: Ic8f4730d035981c32b4ddb48e5e919b0396b6d93
Bug: skia:10694
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317578
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2020-09-18 13:46:17 +00:00

3 lines
113 B
Plaintext

void int_not_array() { int x = 2[0]; }
void index_float2_twice() { float2 x = float2(0); int y = x[0][0]; }