about summary refs log tree commit diff
path: root/examples/-1.pry
blob: 5d7b65cc2106ab27ff8b1736154588c3940f491c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* HELLO! Welcome to the unnamed language */

extern printf = (*i8, varargs) => void;

let test = () => i64 {
	return 2;
};

let main = () => i64 {
	printf("HELLO WORLD!\n");
	return test();
};

/*

Expected stdout:

Expected return: 7

*/