Added a test
This commit is contained in:
Generated
+5
@@ -10375,6 +10375,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
|||||||
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt38996.kt")
|
||||||
|
public void testKt38996() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt7257.kt")
|
@TestMetadata("kt7257.kt")
|
||||||
public void testKt7257() throws Exception {
|
public void testKt7257() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
enum class E(val b: Boolean) {
|
||||||
|
TRUE(1 == 1)
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box() = if (E.TRUE.b) "OK" else "fail"
|
||||||
+5
@@ -11595,6 +11595,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt38996.kt")
|
||||||
|
public void testKt38996() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt7257.kt")
|
@TestMetadata("kt7257.kt")
|
||||||
public void testKt7257() throws Exception {
|
public void testKt7257() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
||||||
|
|||||||
+5
@@ -11595,6 +11595,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt38996.kt")
|
||||||
|
public void testKt38996() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt7257.kt")
|
@TestMetadata("kt7257.kt")
|
||||||
public void testKt7257() throws Exception {
|
public void testKt7257() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
||||||
|
|||||||
+5
@@ -10375,6 +10375,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt38996.kt")
|
||||||
|
public void testKt38996() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt7257.kt")
|
@TestMetadata("kt7257.kt")
|
||||||
public void testKt7257() throws Exception {
|
public void testKt7257() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
||||||
|
|||||||
Generated
+5
@@ -8945,6 +8945,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
|||||||
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt38996.kt")
|
||||||
|
public void testKt38996() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt7257.kt")
|
@TestMetadata("kt7257.kt")
|
||||||
public void testKt7257() throws Exception {
|
public void testKt7257() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
||||||
|
|||||||
Generated
+5
@@ -8955,6 +8955,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt38996.kt")
|
||||||
|
public void testKt38996() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt7257.kt")
|
@TestMetadata("kt7257.kt")
|
||||||
public void testKt7257() throws Exception {
|
public void testKt7257() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
||||||
|
|||||||
+5
@@ -8955,6 +8955,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
runTest("compiler/testData/codegen/box/enum/kt2350.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt38996.kt")
|
||||||
|
public void testKt38996() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt7257.kt")
|
@TestMetadata("kt7257.kt")
|
||||||
public void testKt7257() throws Exception {
|
public void testKt7257() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user