rust/src/test/run-pass/issue-2748-a.rs
2012-09-07 14:02:33 -07:00

12 lines
119 B
Rust

struct CMap {
buf: &[u8],
}
fn CMap(buf: &r/[u8]) -> CMap/&r {
CMap {
buf: buf
}
}
fn main() { }