mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
216 B
23 lines
216 B
/*
|
|
* Simple label parsing test without actual label semantics tests.
|
|
*/
|
|
|
|
/*===
|
|
foo
|
|
bar
|
|
quux
|
|
===*/
|
|
|
|
label1:
|
|
print("foo");
|
|
|
|
label1:
|
|
label2:
|
|
print("bar");
|
|
|
|
label1:
|
|
label2:
|
|
label3:
|
|
do {
|
|
print("quux");
|
|
} while(0);
|
|
|