summaryrefslogtreecommitdiff
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.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.rust/simple.rs b/gdb/testsuite/gdb.rust/simple.rs
index 49808261324..eeff3d71f9c 100644
--- a/gdb/testsuite/gdb.rust/simple.rs
+++ b/gdb/testsuite/gdb.rust/simple.rs
@@ -81,6 +81,7 @@ fn main () {
let i = ["whatever"; 8];
let j = Unit;
+ let j2 = Unit{};
let k = SpaceSaver::Nothing;
let l = SpaceSaver::Thebox(9, Box::new(1729));