rust/src/test/run-pass/borrowed-ptr-pattern-3.rs

10 lines
103 B
Rust
Raw Normal View History

2012-09-07 19:07:32 -05:00
fn foo<T>(s: &r/uint) {
match s {
&3 => fail ~"oh",
_ => ()
}
}
fn main() {
}