Sign in
dawn
/
tint
/
b2a0c8aee74b9f564eef84c0f9c92c8121065e1e
/
.
/
test
/
switch-must-have-exactly-one-default-clause.fail.wgsl
blob: 3d0adf2b06b518613cd8ec38a4b1ec5cdb65ad66 [
file
] [
log
] [
blame
]
# v-0008: line 6: switch statement must have exactly one default clause
[[
stage
(
vertex
)]]
fn main
()
->
void
{
var
a
:
i32
=
2
;
switch
(
a
)
{
case
2
:
{}
}
return
;
}