blob: dec3861d9d2a14ad44adc2837c7bb756626f813d [file] [log] [blame]
ggaren87086d92007-07-20 02:12:54 +00001<p>This page verifies that a statement following a do/while statement will execute
2even if a semi-colon does not separate the two. See
3<a href="http://bugs.webkit.org/show_bug.cgi?id=10880">bug 10880</a>.</p>
4<p id="console">FAIL: Script following do/while statement did not execute.</p>
5<script>
6function pass()
7{
8 document.getElementById("console").innerHTML = "PASS: Script following do/while statement executed.";
9}
10
rniwa@webkit.org03b9c6d2012-07-16 01:41:53 +000011if (window.testRunner)
12 testRunner.dumpAsText();
ggaren87086d92007-07-20 02:12:54 +000013
14do{}while(false)pass();
15</script>