diff --git a/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt b/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt index 31e618c398d..48384ecc4d1 100644 --- a/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt +++ b/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt @@ -811,6 +811,10 @@ fun main(args: Array) { model("inlineStdlib/cases") } + testClass(javaClass()) { + model("inlineEvaluationOrder/cases") + } + testClass(javaClass()) { model("labels/cases") } diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/AbstractInlineEvaluationOrderTest.kt b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/AbstractInlineEvaluationOrderTest.kt new file mode 100644 index 00000000000..b7fa4d149db --- /dev/null +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/AbstractInlineEvaluationOrderTest.kt @@ -0,0 +1,21 @@ +/* + * Copyright 2010-2015 JetBrains s.r.o. + * + * 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. + */ + +package org.jetbrains.kotlin.js.test.semantics + +import org.jetbrains.kotlin.js.test.AbstractSingleFileTranslationWithDirectivesTest + +public abstract class AbstractInlineEvaluationOrderTest : AbstractSingleFileTranslationWithDirectivesTest("inlineEvaluationOrder/")