Sign in
cobalt
/
cobalt
/
da45c04cd0b2a42259750905712e02601644c062
/
.
/
third_party
/
skia_next
/
third_party
/
skia
/
resources
/
sksl
/
runtime_errors
/
IllegalStatements.rts
blob: dbd18088f274010f95f755ce9570487a77222c03 [
file
] [
log
] [
blame
]
// Expect 3 errors
void
discard_stmt
()
{
discard
;
}
int
do_loop
(
int
x
)
{
do
{
x
++;
}
while
(
x
<
1
);
return
x
;
}
int
while_loop
(
int
x
)
{
while
(
x
<
1
)
{
x
++;
}
return
x
;
}