PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-pass/type-ptr.rs

http://github.com/jruderman/rust
Rust | 5 lines | 3 code | 2 blank | 0 comment | 0 complexity | 5ff69312086d7e697635bb700e9806c2 MD5 | raw file
1fn f(a: *int) -> *int { return a; }
2
3fn g(a: *int) -> *int { let b = f(a); return b; }
4
5fn main(args: ~[~str]) { return; }