]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/fn-lval.rs
Reformat source tree (minus a couple tests that are still grumpy).
[rust.git] / src / test / run-pass / fn-lval.rs
1
2
3
4 // -*- rust -*-
5 fn foo(fn(int) -> int  f) { }
6
7 fn id(int x) -> int { ret x; }
8
9 fn main() { foo(id); }