Fix &str printing in Rust
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.rust / simple.rs
index 9c154e7c4914ee76b1c6ce5c9eda41a7ebeb37f9..d6d1755e4d5229d43bc846013fe29e48bdb27c6d 100644 (file)
@@ -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;
This page took 0.025041 seconds and 4 git commands to generate.