os-rust/src/test/ui/issues/issue-2748-a.rs

18 lines
257 B
Rust
Raw Normal View History

// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
#![allow(non_snake_case)]
// pretty-expanded FIXME #23616
struct CMap<'a> {
buf: &'a [u8],
2012-09-05 15:58:43 -07:00
}
fn CMap(buf: &[u8]) -> CMap {
2012-09-05 15:58:43 -07:00
CMap {
buf: buf
}
}
pub fn main() { }