Use codegen box tests for tail calls as diagnostic tests too
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
tailRecursive fun withWhen(counter : Int, d : Any, x : Any) : Int =
|
||||
if (counter == 0) {
|
||||
0
|
||||
|
||||
Reference in New Issue
Block a user