rust/src/test/ui/issues/issue-2748-a.rs
2019-11-04 16:03:46 +01:00

18 lines
220 B
Rust

// build-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() { }