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.
25 lines
217 B
25 lines
217 B
12 years ago
|
/*
|
||
|
* 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);
|
||
|
|