[K/N][Tests] Support test directive ASSERTIONS_MODE
^KT-64844 Fixed
This commit is contained in:
committed by
Space Team
parent
809d652bdf
commit
fee2a20a55
@@ -1,8 +0,0 @@
|
||||
// EXIT_CODE: !0
|
||||
@file:OptIn(kotlin.experimental.ExperimentalNativeApi::class)
|
||||
|
||||
// TODO: Test running this test with disabled assertions. This requires removing always-enabled
|
||||
// -enable-assertions from `BasicCompilation`.
|
||||
fun main() {
|
||||
assert(false)
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
@file:OptIn(kotlin.experimental.ExperimentalNativeApi::class)
|
||||
|
||||
fun main() {
|
||||
assert(true)
|
||||
}
|
||||
Reference in New Issue
Block a user