mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
16 lines
240 B
Rust
16 lines
240 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);
|
|
}
|