]>
Commit | Line | Data |
---|---|---|
223e47cc LB |
1 | // Issue #4036: Test for an issue that arose around fixing up type inference |
2 | // byproducts in vtable records. | |
3 | ||
c34b1796 AL |
4 | // pretty-expanded FIXME #23616 |
5 | ||
6 | #![feature(rustc_private)] | |
7 | ||
1a4d82fc JJ |
8 | extern crate serialize; |
9 | ||
10 | use serialize::{json, Decodable}; | |
223e47cc LB |
11 | |
12 | pub fn main() { | |
13 | let json = json::from_str("[1]").unwrap(); | |
1a4d82fc | 14 | let mut decoder = json::Decoder::new(json); |
c34b1796 | 15 | let _x: Vec<isize> = Decodable::decode(&mut decoder).unwrap(); |
223e47cc | 16 | } |