Add test for KT-26064
This commit is contained in:
committed by
Anton Bannykh
parent
1a3dd67176
commit
3b4a49eebf
@@ -0,0 +1,11 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/DummyKt.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
End of files
|
||||
Compiling files:
|
||||
src/dummy.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
@@ -0,0 +1 @@
|
||||
fun dummy() {}
|
||||
@@ -0,0 +1,2 @@
|
||||
fun overloaded(x: Int) {}
|
||||
fun overloaded(s: String) {}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
inline fun overloadedInline() {
|
||||
overloaded("overloadedInline")
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun useOverloaded() {
|
||||
overloaded("useOverloadedInline")
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useOverloadedInline() {
|
||||
overloadedInline()
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
class Err constructor(msg: String?, unused: Any?) {
|
||||
constructor() : this(null, null)
|
||||
constructor(msg: String) : this(msg, null)
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/DummyKt.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
End of files
|
||||
Compiling files:
|
||||
src/dummy.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
inline fun createErr() {
|
||||
Err("createErr")
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun dummy() {}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun useCreateErr() {
|
||||
createErr()
|
||||
}
|
||||
Reference in New Issue
Block a user