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