skia2/tests/sksl/runtime_errors/Ossfuzz36655.skvm
Ethan Nicholas cb13c892af Added range highlighting to SkSL error reports
SkSL errors now identify the specific range of code they are describing,
rather than just the line number.

Change-Id: Ifabb3148476f9b4cd8e532f23e5b38e1cf33a87e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528039
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2022-04-07 13:29:48 +00:00

40 lines
1.4 KiB
Plaintext

### Compilation failed:
error: 2: expected '(' to begin constructor invocation
;int x;+(2);;;;;;colorFilter;;;;;;;;
^
error: 11: expected '(' to begin function call
n();n();;;;;;;;;;atan;;;;;;;;;;;2;
^
error: 17: expected '(' to begin function call
;0;;;l();n;;
^
error: 21: expected '(' to begin function call
(32/43/4-half3x3(5)[2].ttt+4/35).ss00*1752).s > 5)n();;0;n;n()
^
error: 23: expected '(' to begin constructor invocation
;float[992];
^
error: 26: expected '(' to begin function call
(2).ss00*2147483648).s > 0)n();1;n;n()
^
error: 32: expected '(' to begin function call
052).s >=5)n();1;n;n
^
error: 32: expected '(' to begin function call
052).s >=5)n();1;n;n
^
error: 35: expected '(' to begin function call
;0;;;l();n;;
^
error: 39: expected '(' to begin function call
(32/43/4-half3x3(5)[2].ttt+4/35).ss00*1752).s > 5)n();;1;n;n()
^
error: 43: expected '(' to begin constructor invocation
;float[992];
^
error: 46: expected '(' to begin function call
(2).ss00*7152).s > 0)n();1;n;n()
^
12 errors