2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
|
|
|
#![allow(unused_variables)]
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-03-06 11:55:35 -06:00
|
|
|
enum StdioContainer {
|
|
|
|
CreatePipe(bool)
|
|
|
|
}
|
|
|
|
|
|
|
|
struct Test<'a> {
|
2014-05-22 18:57:53 -05:00
|
|
|
args: &'a [String],
|
2014-03-06 11:55:35 -06:00
|
|
|
io: &'a [StdioContainer]
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
let test = Test {
|
|
|
|
args: &[],
|
2014-11-06 02:05:53 -06:00
|
|
|
io: &[StdioContainer::CreatePipe(true)]
|
2014-03-06 11:55:35 -06:00
|
|
|
};
|
|
|
|
}
|