Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
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
;
}