granite-rust/src/test/debuginfo/issue-14411.rs
2018-12-25 21:08:33 -07:00

15 lines
238 B
Rust

// min-lldb-version: 310
// compile-flags:-g
// No debugger interaction required: just make sure it compiles without
// crashing.
fn test(a: &Vec<u8>) {
print!("{}", a.len());
}
pub fn main() {
let data = vec![];
test(&data);
}