summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-10228.rs
blob: ebf8b436f132fcdd9e94dbb7dbe80bd887f3bd36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// run-pass
#![allow(dead_code)]
#![allow(unused_variables)]
// pretty-expanded FIXME #23616

enum StdioContainer {
    CreatePipe(bool)
}

struct Test<'a> {
    args: &'a [String],
    io: &'a [StdioContainer]
}

pub fn main() {
    let test = Test {
        args: &[],
        io: &[StdioContainer::CreatePipe(true)]
    };
}