summaryrefslogtreecommitdiffstats
path: root/src/test/debuginfo/issue-14411.rs
blob: 19609f428467b5862bc585e117a79e2fac7ec915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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);
}