1 // Issue #4036: Test for an issue that arose around fixing up type inference
2 // byproducts in vtable records.
4 // pretty-expanded FIXME #23616
6 #![feature(rustc_private)]
8 extern crate serialize;
10 use serialize::{json, Decodable};
13 let json = json::from_str("[1]").unwrap();
14 let mut decoder = json::Decoder::new(json);
15 let _x: Vec<isize> = Decodable::decode(&mut decoder).unwrap();