c29e37ad4c
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>
8 lines
234 B
Plaintext
8 lines
234 B
Plaintext
void bool_or_float() { float x = 5 > 2 ? true : 1.0; }
|
|
void float3_or_float() { float x = 5 > 2 ? float3(1) : 1.0; }
|
|
|
|
/*%%*
|
|
ternary operator result mismatch: 'bool', 'float'
|
|
ternary operator result mismatch: 'float3', 'float'
|
|
*%%*/
|