Sign in
skia
/
skia
/
77ba8103d34fc821bdbba9f2a54a7d7371d1d56f
/
.
/
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
);
}