Index: test/mjsunit/asm/regress-674089.js |
diff --git a/test/mjsunit/asm/regress-674089.js b/test/mjsunit/asm/regress-674089.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dfed2316757b04a331bce8339c5575a05ed24d5c |
--- /dev/null |
+++ b/test/mjsunit/asm/regress-674089.js |
@@ -0,0 +1,16 @@ |
+// Copyright 2017 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Flags: --validate-asm --ignition-staging |
+ |
+function outer() { |
+ "use asm"; |
+ function inner() { |
+ switch (1) { |
+ case 0: |
+ break foo; |
+ } |
+ } |
+} |
+outer(); |