24 lines
441 B
Plaintext
24 lines
441 B
Plaintext
import to_import: simple_print, a, b
|
|
|
|
obj Something (ObjectTrait) {
|
|
var member: int
|
|
fun method():int {
|
|
return 5
|
|
}
|
|
}
|
|
|
|
fun some_function(): int return 0;
|
|
fun some_other_function(in: bool): float {
|
|
return 0.0
|
|
}
|
|
fun main(): int {
|
|
var a_declaration:int
|
|
a_declaration = 78
|
|
simple_print(a_declaration)
|
|
/*var another_declaration = 9*/
|
|
simple_print("Hello World!\n")
|
|
simple_print(1337)
|
|
return 0
|
|
}
|
|
|