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