From 60bf613c0732cc6238834a95ee7b6b8b6022197e Mon Sep 17 00:00:00 2001 From: Akos Kiss Date: Mon, 30 Oct 2017 14:53:22 +0100 Subject: [PATCH] Add regression test from issue #2008 (#2066) The issue was reported against v1.0 and isn't reproducible anymore. Still, adding the then-faulty input to the regression test suite to prevent it occuring again. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu --- tests/jerry/regression-test-issue-2008.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/jerry/regression-test-issue-2008.js diff --git a/tests/jerry/regression-test-issue-2008.js b/tests/jerry/regression-test-issue-2008.js new file mode 100644 index 000000000..8533b3aea --- /dev/null +++ b/tests/jerry/regression-test-issue-2008.js @@ -0,0 +1,16 @@ +// Copyright JS Foundation and other contributors, http://js.foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +'\ +'+'056';