2018-08-30 14:18:55 +02:00
|
|
|
//@ run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2018-08-31 15:02:01 +02:00
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
|
2013-12-09 23:16:18 -08:00
|
|
|
enum ast<'a> {
|
2015-03-25 17:06:52 -07:00
|
|
|
num(usize),
|
2013-12-09 23:16:18 -08:00
|
|
|
add(&'a ast<'a>, &'a ast<'a>)
|
2012-04-21 10:04:58 -07:00
|
|
|
}
|
|
|
|
|
2013-08-17 08:37:42 -07:00
|
|
|
fn mk_add_ok<'a>(x: &'a ast<'a>, y: &'a ast<'a>, _z: &ast) -> ast<'a> {
|
2014-11-06 00:05:53 -08:00
|
|
|
ast::add(x, y)
|
2012-04-21 10:04:58 -07:00
|
|
|
}
|
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2013-02-14 11:47:00 -08:00
|
|
|
}
|