cclang/doc/test.bl

44 lines
804 B
Plaintext
Raw Normal View History

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