Closed
Description
"Up-to-date" test case:
fn main() {
struct moo {a: float};
let x = [moo{a: 1.5}, moo{a: 2.3}];
io::println(fmt!("%?", x));
}
(build with rustc -Z debug-info
, then load it up in gdb and set a breakpoint on main
.)
Original reported test case follows
let x = [{a: 1.5},{a: 2.3}]
The values of a in gdb are wildly incorrect.