We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e77350 commit e7b63a5Copy full SHA for e7b63a5
tests/debuginfo/path.rs
@@ -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