IR to CFG test generator, sequential function tests

This commit is contained in:
Mikhail Glukhikh
2016-09-20 16:01:43 +03:00
committed by Dmitry Petrov
parent 65db7aa1ba
commit eaf10a4675
17 changed files with 241 additions and 6 deletions
+14
View File
@@ -0,0 +1,14 @@
// FILE: /expressionUnit.kt
// FUN: foo
BB 0
CONTENT
1 FUN public fun foo(): kotlin.Unit
2 GET_OBJECT 'Unit' type=kotlin.Unit
3 RETURN type=kotlin.Nothing from='foo(): Unit'
OUTGOING -> NONE
Function exit: FUN public fun foo(): kotlin.Unit
// END FUN: foo
// END FILE: /expressionUnit.kt