Building with --coverage pointed out that there was no Rust test for
initializing a structure using the ".." initializer. This patch adds
such a test.
Regression tested on x86-64 Fedora 26.
2018-04-11 Tom Tromey <tom@tromey.com>
* gdb.rust/simple.exp: Add test for ".." struct initializer.
+2018-04-11 Tom Tromey <tom@tromey.com>
+
+ * gdb.rust/simple.exp: Add test for ".." struct initializer.
+
2018-04-10 Pedro Alves <palves@redhat.com>
* gdb.base/fork-running-state.c (fork_child): Don't exit if parent
gdb_test "print simple::HiBob{field1, field2}" \
" = simple::HiBob \\{field1: 77, field2: 88\\}"
+gdb_test "print simple::HiBob{field1: 99, .. y}" \
+ " = simple::HiBob \\{field1: 99, field2: 8\\}"
+
gdb_test "print e" " = simple::MoreComplicated::Two\\(73\\)"
gdb_test "print e2" \
" = simple::MoreComplicated::Four\\{this: true, is: 8, a: 109 'm', struct_: 100, variant: 10\\}"