2022-02-08 10:10:07 +01:00
|
|
|
|
|
|
|
// nice comments
|
|
|
|
/*
|
|
|
|
a multiline comment
|
|
|
|
/*
|
|
|
|
with nested multiline comments
|
|
|
|
/*/
|
|
|
|
this doesn't break it
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
// some utf8 letters in idents
|
|
|
|
|
|
|
|
var áéíóú = 5;
|
|
|
|
print (áéíóú);
|
|
|
|
//expect:5.0
|
|
|
|
|
|
|
|
{ @å
|
|
|
|
print ("before");
|
|
|
|
{
|
|
|
|
:å = "result";
|
|
|
|
break @å;
|
2022-12-03 14:28:09 +01:00
|
|
|
// this nesting is needed because breaks detect code after them and error
|
2022-02-08 10:10:07 +01:00
|
|
|
};
|
|
|
|
print ("after");
|
|
|
|
} :: print;
|
|
|
|
|
|
|
|
//expect:before
|
|
|
|
//expect:result
|