cclang/doc/test.bl
2020-05-24 17:56:15 +02:00

44 lines
804 B
Plaintext

// hi1
# hi2
/*
hi3
*/
lib Main {
class Program {
func Main() {
testBool: bool;
testEmpty: emptyType = empty;
testNum: number = 3.0;
testBool_2: bool = 3 > 1;
output('Hello World');
output(66);
output(3 + 3);
test: string = input('# ');
output(test);
output(false);
/*if (testBool != empty) {
output(testEmpty);
}*/
test1234(range(0, 10));
}
# public func test1234(param: list) {
public func test1234()
{
/*for i in range(0, length(param)) {
output(i);
}*/
pass;
}
}
}
lib test
{
public class Test
{
}
}