[LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
This commit is contained in:
committed by
Space Team
parent
aef5290210
commit
33e6a85a2d
@@ -0,0 +1,17 @@
|
||||
interface Node {
|
||||
val shouldProcess: Boolean
|
||||
val parent: Node?
|
||||
}
|
||||
|
||||
fun test(initial: Node?) {
|
||||
var current = initial
|
||||
|
||||
while (current!!.shouldProcess) {
|
||||
consume(current)
|
||||
current = current.parent
|
||||
}
|
||||
|
||||
<expr>consume(current)</expr>
|
||||
}
|
||||
|
||||
fun consume(node: Node) {}
|
||||
Reference in New Issue
Block a user