Add in simple CTCE test
This commit is contained in:
2
tests/test_ctce.expected_results
Normal file
2
tests/test_ctce.expected_results
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
3
|
||||||
|
hello, world
|
||||||
8
tests/test_ctce.krak
Normal file
8
tests/test_ctce.krak
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import io: *
|
||||||
|
|
||||||
|
fun main(): int {
|
||||||
|
var a = #ctce(1+2)
|
||||||
|
println(a)
|
||||||
|
println(#ctce("junkhello, world"+4))
|
||||||
|
return 0
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user