mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Introduced test flag: JVM8_TARGET_WITH_DEFAULTS
This commit is contained in:
17
compiler/testData/codegen/java8/writeFlags/interfaceMethod.kt
vendored
Normal file
17
compiler/testData/codegen/java8/writeFlags/interfaceMethod.kt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// JVM_TARGET: 1.8
|
||||
|
||||
interface Test {
|
||||
fun test(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
fun testAbstract(): String
|
||||
}
|
||||
|
||||
// TESTED_OBJECT_KIND: function
|
||||
// TESTED_OBJECTS: Test, test
|
||||
// FLAGS: ACC_PUBLIC, ACC_ABSTRACT
|
||||
|
||||
// TESTED_OBJECT_KIND: function
|
||||
// TESTED_OBJECTS: Test, testAbstract
|
||||
// FLAGS: ACC_PUBLIC, ACC_ABSTRACT
|
||||
Reference in New Issue
Block a user