mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 11:32:29 +00:00
14 lines
213 B
Rust
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);
|
|
}
|