PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-pass/generic-fn-twice.rs

http://github.com/jruderman/rust
Rust | 9 lines | 4 code | 4 blank | 1 comment | 0 complexity | 79bae6059d12367b884bb82456b258c2 MD5 | raw file
1
2
3
4// -*- rust -*-
5mod foomod {
6    fn foo<T>() { }
7}
8
9fn main() { foomod::foo::<int>(); foomod::foo::<int>(); }