Fix passing of struct with bitfields on x86-64
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.arch / amd64-eval.exp
index c33777d2b41501968cd183fff2e46fed1ad28b96..beef46ad133d4e899225b9e59eccbd86274745d7 100644 (file)
@@ -41,3 +41,5 @@ gdb_test "call foo.return_unaligned(78, 9.25)" \
     " = {x = 78, y = 9.25}"
 gdb_test "call foo.return_unaligned_in_base(23, 4.5, 67)" \
     " = {<UnalignedFields> = {x = 23, y = 4.5}, x2 = 67}"
+gdb_test "call foo.return_bitfields(23, 74)" \
+    " = {fld = 23, fld2 = 74}"
This page took 0.024128 seconds and 4 git commands to generate.