Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
d356bf2ccae98a8a53cbfba6e15e09ff70e281c6
/
.
/
Tools
/
TestWebKitAPI
/
Tests
/
WGSL
/
shaders
/
scope.wgsl
blob: ebcc81a429b0c67fb76923064e50ead5030ed806 [
file
]
fn testScope
()
{
var
x
=
1
;
if
(
true
)
{
var
x
=
2
;
}
else
if
(
true
)
{
var
x
=
2
;
}
else
{
var
x
=
3
;
}
{
let
x
:
i32
=
0
;
}
{
let
x
:
f32
=
0
;
}
}