summaryrefslogtreecommitdiff
path: root/test2.yx
blob: 50129273090b6c8ca26f9068d9338b669f4d7f2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
def rgb = func() (u8, u8, u8) {
	;
	;
    def r = #xFF;
	def g, b u8 = #xFF, #xFF;
	return r, g, b;
};

def something2 = something;
def something = my_int;

def rgba = func() (u8, u8, u8, u8) {
	return rgb(), #xFF;
};

def zoë, bar = 42, 69;

def main_1 = func() (int, int) { return zoë, bar; };

def main = func() (u16, u16) {
	rgba();
	return zoë, bar;
};

def my_int = "hi";