diff options
Diffstat (limited to 'bootstrap/test.cff')
| -rw-r--r-- | bootstrap/test.cff | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap/test.cff b/bootstrap/test.cff index d7f86bf..fb1741d 100644 --- a/bootstrap/test.cff +++ b/bootstrap/test.cff @@ -27,6 +27,10 @@ fn isort(xs *int, n usize) void { return lhs - rhs; } qsort(xs, n, 4, &icmp); + + fn foo() void {} + let x= &foo; + x(); } extern fn main (argc int, argv **u8) int { |