A test to check we don't throw away a library dependency only because it
it a default lib not needed in the main program.
This commit is contained in:
committed by
alexander-gorshenev
parent
e7286998aa
commit
2445357166
@@ -1227,6 +1227,12 @@ task link_default_libs(type: RunKonanTest) {
|
||||
source = "link/default/default.kt"
|
||||
}
|
||||
|
||||
task no_purge_for_dependencies(type: LinkKonanTest) {
|
||||
goldValue = "linked library\nand symbols from posix available: 17; 1.0\n"
|
||||
source = "link/purge1/prog.kt"
|
||||
lib = "link/purge1/lib.kt"
|
||||
}
|
||||
|
||||
task for0(type: RunKonanTest) {
|
||||
goldValue = "2\n3\n4\n"
|
||||
source = "runtime/basic/for0.kt"
|
||||
|
||||
Reference in New Issue
Block a user