diff --git a/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts b/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts new file mode 100644 index 00000000000..c3c55369a4d --- /dev/null +++ b/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts @@ -0,0 +1,6 @@ + + +var a = `hello\world`; +var b = `hello\\world`; +var c = `hello\\\world`; +var d = `hello\\\\world`; \ No newline at end of file diff --git a/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts b/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts new file mode 100644 index 00000000000..7309ecd7b2c --- /dev/null +++ b/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts @@ -0,0 +1,6 @@ +// @target: es6 + +var a = `hello\world`; +var b = `hello\\world`; +var c = `hello\\\world`; +var d = `hello\\\\world`; \ No newline at end of file