| Index: test/mjsunit/harmony/templates.js
|
| diff --git a/test/mjsunit/harmony/templates.js b/test/mjsunit/harmony/templates.js
|
| index 13d514610c043c3db91b1a07268cf3f001fb1a59..86caf453a5c998f7cb6f9cabdde145aba400ad2d 100644
|
| --- a/test/mjsunit/harmony/templates.js
|
| +++ b/test/mjsunit/harmony/templates.js
|
| @@ -453,3 +453,21 @@ 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`;
|
| +
|
| + function g() {}`def`;
|
| +
|
| + {
|
| + // block
|
| + }
|
| + `ghi`;
|
| +
|
| + {
|
| + // block
|
| + }`jkl`;
|
| +})();
|
|
|