From 7b59f023edebb676aa1c601e606d2c9817151cc7 Mon Sep 17 00:00:00 2001 From: "Thomas Moore (CHAKRA)" Date: Fri, 5 Jan 2018 10:14:03 -0800 Subject: [PATCH] Fix copyright build error --- test/Optimizer/bug41530.js | 5 +++++ test/Optimizer/bug42111.js | 5 +++++ test/es6/function-expr-capture.js | 5 +++++ test/es6/function-expr-capture2.js | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/test/Optimizer/bug41530.js b/test/Optimizer/bug41530.js index 48eed7357f3..0ecafa4ff61 100644 --- a/test/Optimizer/bug41530.js +++ b/test/Optimizer/bug41530.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + function opt(arr) { if (arr.length <= 15) return; diff --git a/test/Optimizer/bug42111.js b/test/Optimizer/bug42111.js index b2cd33402c0..08b868585a0 100644 --- a/test/Optimizer/bug42111.js +++ b/test/Optimizer/bug42111.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + function opt(arr, start, end) { for (let i = start; i < end; i++) { if (i === 10) { diff --git a/test/es6/function-expr-capture.js b/test/es6/function-expr-capture.js index 9a0056659a9..9ce2c4865c6 100644 --- a/test/es6/function-expr-capture.js +++ b/test/es6/function-expr-capture.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + (function func(arg = function () { return func; }()) { diff --git a/test/es6/function-expr-capture2.js b/test/es6/function-expr-capture2.js index 89d5e25435d..8eab05c7be0 100644 --- a/test/es6/function-expr-capture2.js +++ b/test/es6/function-expr-capture2.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + eval( '(function f() {' + ' with({}) {' +