Sign in
skia
/
skia
/
dda1d31623a6df7eb2b4e7c8633bd8675f333353
/
.
/
tests
/
sksl
/
errors
/
UseWithoutInitializeDeadSwitch.sksl
blob: aff9c601e25bc41f58d579e3bd32640c24707563 [
file
] [
log
] [
blame
]
void
dead_switch
()
{
int
x
;
switch
(
3
)
{
case
0
:
x
=
0
;
case
1
:
x
=
1
;
}
sk_FragColor
=
half4
(
x
);
}