cclang/doc/test.bl
Sven Heidemann 9b25f36eb3 fixes
2020-05-25 21:05:52 +02:00

52 lines
1021 B
Plaintext

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