Sign in
dawn
/
tint.git
/
1a9a2dd07d07180e5019c2bf19c28dda8d97cf15
/
.
/
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
;
}