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

9 lines
108 B
Rust

// -*- rust -*-
mod foomod {
fn foo[T]() { }
}
fn main() { foomod::foo[int](); foomod::foo[int](); }