Add test (with incorrect work yet) for KT-17374

This commit is contained in:
Mikhail Glukhikh
2017-09-26 14:17:56 +03:00
parent 390de737e7
commit 848a80a266
5 changed files with 43 additions and 6 deletions
@@ -0,0 +1 @@
<error descr="[NO_ACTUAL_FOR_EXPECT] Expected function 'foo' has no actual declaration in module jvm_base for JVM"><error descr="[NO_ACTUAL_FOR_EXPECT] Expected function 'foo' has no actual declaration in module jvm_user for JVM">expect fun foo(): Int</error></error>
@@ -0,0 +1,3 @@
fun bar(): Int {
return 42
}
@@ -0,0 +1,3 @@
fun user(): Int {
return 2 * bar()
}