2fdcca2777
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>
13 lines
235 B
Plaintext
13 lines
235 B
Plaintext
// Expect 2 errors (one per function)
|
|
|
|
float x;
|
|
float y;
|
|
|
|
void rem() { x = x % y; }
|
|
void rem_eq() { x %= y; }
|
|
|
|
/*%%*
|
|
type mismatch: '%' cannot operate on 'float', 'float'
|
|
type mismatch: '%=' cannot operate on 'float', 'float'
|
|
*%%*/
|