summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-2748-a.rs
blob: cbb9bcc28ac8b21f37be7296bc39e96116d51aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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() { }