aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.rust/simple.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.rust/simple.rs')
-rw-r--r--gdb/testsuite/gdb.rust/simple.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.rust/simple.rs b/gdb/testsuite/gdb.rust/simple.rs
index 9c154e7..d6d1755 100644
--- a/gdb/testsuite/gdb.rust/simple.rs
+++ b/gdb/testsuite/gdb.rust/simple.rs
@@ -95,6 +95,8 @@ fn main () {
let g = b"hi bob";
let h = b'9';
+ let fslice = &f[3..];
+
let i = ["whatever"; 8];
let j = Unit;