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

10 lines
103 B
Rust
Raw Normal View History

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