]> git.proxmox.com Git - rustc.git/blobdiff - src/test/debuginfo/method-on-struct.rs
New upstream version 1.14.0+dfsg1
[rustc.git] / src / test / debuginfo / method-on-struct.rs
index 3bf2e775e779147c3a89562faa298e6dd51a7bbb..c7546fe2221ff60365d8e6e1b7ca460f791bb73e 100644 (file)
@@ -18,7 +18,8 @@
 
 // STACK BY REF
 // gdb-command:print *self
-// gdb-check:$1 = {x = 100}
+// gdbg-check:$1 = {x = 100}
+// gdbr-check:$1 = method_on_struct::Struct {x: 100}
 // gdb-command:print arg1
 // gdb-check:$2 = -1
 // gdb-command:print arg2
@@ -27,7 +28,8 @@
 
 // STACK BY VAL
 // gdb-command:print self
-// gdb-check:$4 = {x = 100}
+// gdbg-check:$4 = {x = 100}
+// gdbr-check:$4 = method_on_struct::Struct {x: 100}
 // gdb-command:print arg1
 // gdb-check:$5 = -3
 // gdb-command:print arg2
@@ -36,7 +38,8 @@
 
 // OWNED BY REF
 // gdb-command:print *self
-// gdb-check:$7 = {x = 200}
+// gdbg-check:$7 = {x = 200}
+// gdbr-check:$7 = method_on_struct::Struct {x: 200}
 // gdb-command:print arg1
 // gdb-check:$8 = -5
 // gdb-command:print arg2
@@ -45,7 +48,8 @@
 
 // OWNED BY VAL
 // gdb-command:print self
-// gdb-check:$10 = {x = 200}
+// gdbg-check:$10 = {x = 200}
+// gdbr-check:$10 = method_on_struct::Struct {x: 200}
 // gdb-command:print arg1
 // gdb-check:$11 = -7
 // gdb-command:print arg2
@@ -54,7 +58,8 @@
 
 // OWNED MOVED
 // gdb-command:print *self
-// gdb-check:$13 = {x = 200}
+// gdbg-check:$13 = {x = 200}
+// gdbr-check:$13 = method_on_struct::Struct {x: 200}
 // gdb-command:print arg1
 // gdb-check:$14 = -9
 // gdb-command:print arg2