]>
Commit | Line | Data |
---|---|---|
1a4d82fc | 1 | // min-lldb-version: 310 |
223e47cc | 2 | |
1a4d82fc | 3 | // compile-flags:-g |
223e47cc | 4 | |
1a4d82fc JJ |
5 | // No debugger interaction required: just make sure it compiles without |
6 | // crashing. | |
223e47cc | 7 | |
1a4d82fc JJ |
8 | fn test(a: &Vec<u8>) { |
9 | print!("{}", a.len()); | |
10 | } | |
11 | ||
12 | pub fn main() { | |
c30ab7b3 | 13 | let data = vec![]; |
1a4d82fc | 14 | test(&data); |
223e47cc | 15 | } |