deferredBadContinue.js 555 B

1234567891011121314151617
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. //
  6. // Win8 867346: Bad continue wasn't detected by deferred parsing.
  7. //
  8. function f() {
  9. LABEL1:
  10. switch(0) {
  11. case 0:
  12. continue LABEL1;
  13. }
  14. }