blob: 7da5fb16d44acaf1418107c9f7f99e5ebee38658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//@ 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);
}
|