0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-22 10:25:09 +01:00
rust/tests/debuginfo/issue-14411.rs
2024-08-18 16:58:26 -04:00

14 lines
213 B
Rust

//@ 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);
}