summaryrefslogtreecommitdiff
path: root/examples/closure3.nl
blob: 8bf666bec01cb7681dd4071662711e427e9e6858 (plain)
1
2
3
4
5
6
7
8
9
10
11
typedef intfn = fn() -> int32;

make_fun () -> intfn
{
    g () -> int32
    {
	return 0;
    }

    return g;
}