[K/N][tests] Added test for @ character in library name
This commit is contained in:
@@ -2428,6 +2428,12 @@ linkTest("no_purge_for_dependencies") {
|
||||
UtilsKt.dependsOnPlatformLibs(it)
|
||||
}
|
||||
|
||||
linkTest("lib@name") {
|
||||
useGoldenData = true
|
||||
source = "link/klib_name/prog.kt"
|
||||
lib = "link/klib_name/lib.kt"
|
||||
}
|
||||
|
||||
task for0(type: KonanLocalTest) {
|
||||
useGoldenData = true
|
||||
source = "runtime/basic/for0.kt"
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
fun foo() {
|
||||
println("linked library")
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
foo()
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
linked library
|
||||
Reference in New Issue
Block a user