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: /expressionFun.kt
// FUN: foo
BB 0
CONTENT
1 FUN public fun foo(arg: kotlin.Int): kotlin.Int
2 GET_VAR 'value-parameter arg: Int' type=kotlin.Int origin=null
3 RETURN type=kotlin.Nothing from='foo(Int): Int'
OUTGOING -> NONE
Function exit: FUN public fun foo(arg: kotlin.Int): kotlin.Int
// END FUN: foo
// END FILE: /expressionFun.kt