skia2/resources/sksl/errors/DivideByZero.rts
John Stiles 2fdcca2777 Rename ES2 error tests from 'C' through 'G' to .rts.
A few tests received minor tweaks to make them Runtime Effect-friendly.

Change-Id: I9b4f66b0974c41d38324dfbb31ac9849338f600a
Bug: skia:13042
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/523186
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Arman Uguray <armansito@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-03-21 22:50:58 +00:00

12 lines
163 B
Plaintext

int a = 1 / 0;
float b = 1 / 0;
float c = 1.0 / 0.0;
float d = -67.0 / (3.0 - 3);
/*%%*
division by zero
division by zero
division by zero
division by zero
*%%*/