rust/src/test/ui/issues/issue-2748-a.rs
2018-12-25 21:08:33 -07:00

18 lines
222 B
Rust

// compile-pass
#![allow(dead_code)]
#![allow(non_snake_case)]
// pretty-expanded FIXME #23616
struct CMap<'a> {
buf: &'a [u8],
}
fn CMap(buf: &[u8]) -> CMap {
CMap {
buf: buf
}
}
pub fn main() { }