aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/parser/def_type_function.good
blob: 7ffdb3a7aebe14da35c8c9909e35df86564f648a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22


typedef a = ()();
typedef b = int();
typedef c = int(int x);
typedef d = int(
    int x,
    int y,
);
typedef e = (a^)(b^);
typedef f = (a^, int r)(int x);
typedef g = (
    a^,
    b^,
    c^,
)(a^, b^, c^);

typedef h = a^(b^ x);
typedef i = ((int r, int s), (int, int))((int x, int));

typedef j = (int r)(int y)^ (int x);