Skip to content

Commit e7b63a5

Browse files
committed
Add failing test
1 parent 1e77350 commit e7b63a5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

tests/debuginfo/path.rs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// ignore-gdb
2+
3+
// compile-flags:-g
4+
5+
// === LLDB TESTS ==================================================================================
6+
7+
// lldb-command:run
8+
9+
// lldb-command:print path
10+
// lldb-check:[...]$0 = strong=11, weak=1 { value = 111 }
11+
// lldb-command:print pathbuf
12+
// lldb-check:[...]$1 = strong=21, weak=1 { data = 222 }
13+
14+
use std::path::Path;
15+
16+
fn main() {
17+
let path = Path::new("/some/path");
18+
let pathbuf = &path.to_path_buf();
19+
20+
zzz(); // #break
21+
}
22+
23+
fn zzz() {
24+
()
25+
}

0 commit comments

Comments
 (0)