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