Chromium Code Reviews| Index: test/mjsunit/harmony/templates.js |
| diff --git a/test/mjsunit/harmony/templates.js b/test/mjsunit/harmony/templates.js |
| index 13d514610c043c3db91b1a07268cf3f001fb1a59..b5091ae3e681a086a5efc8e9f14a07859fca3da6 100644 |
| --- a/test/mjsunit/harmony/templates.js |
| +++ b/test/mjsunit/harmony/templates.js |
| @@ -453,3 +453,15 @@ var obj = { |
| assertEquals(`a\u{62}c`, "abc"); |
| assertEquals(`a\u{000062}c`, "abc"); |
| })(); |
| + |
| + |
| +(function testLiteralAfterRightBrace() { |
| + // Regression test for https://code.google.com/p/v8/issues/detail?id=3734 |
| + function f() {} |
| + `abc`; |
|
caitp (gmail)
2014/12/03 23:20:25
So "function f() {}`abc`;" would have failed befor
|
| + |
| + { |
| + // block |
| + } |
| + `def`; |
| +})(); |