Add separate diagnostic renderer results for tests with NI

This commit is contained in:
Mikhail Zarechenskiy
2017-11-07 02:05:39 +03:00
parent 8757298994
commit 328c67b9e8
106 changed files with 1358 additions and 0 deletions
@@ -1,4 +1,5 @@
// !DIAGNOSTICS: -NOTHING_TO_INLINE
// NI_EXPECTED_FILE
inline fun <T> foo(t1: T, t2: T) = t1 ?: t2
@@ -0,0 +1,5 @@
package
public inline fun </*0*/ T> bar(/*0*/ l: (T) -> kotlin.Unit): T
public inline fun </*0*/ T> foo(/*0*/ t1: T, /*1*/ t2: T): T?
public fun use(): kotlin.Unit
@@ -1,4 +1,5 @@
// !DIAGNOSTICS: -NOTHING_TO_INLINE
// NI_EXPECTED_FILE
// See KT-9143: smart cast on a variable nulled inside a lambda argument
inline fun <T> foo(t1: T, t2: T) = t1 ?: t2
@@ -0,0 +1,5 @@
package
public inline fun </*0*/ T> bar(/*0*/ l: (T) -> kotlin.Unit): T
public inline fun </*0*/ T> foo(/*0*/ t1: T, /*1*/ t2: T): T?
public fun use(): kotlin.Unit