]> git.proxmox.com Git - rustc.git/blame - src/test/run-pass-fulldeps/issue-4036.rs
New upstream version 1.37.0+dfsg1
[rustc.git] / src / test / run-pass-fulldeps / issue-4036.rs
CommitLineData
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
8extern crate serialize;
9
10use serialize::{json, Decodable};
223e47cc
LB
11
12pub 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}