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