Fix type casts losing typedefs and reimplement "whatis" typedef stripping
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / dfp-test.c
index 3af2b4de0972ba5a6b0fe233349b388cb0d369b9..a184acb3949921985bd80401943b836e86157052 100644 (file)
@@ -91,6 +91,23 @@ volatile _Decimal32 d32;
 volatile _Decimal64 d64;
 volatile _Decimal128 d128;
 
+/* Typedefs and typedefs of typedefs, for ptype/whatis testing.  */
+typedef _Decimal32 d32_t;
+typedef _Decimal64 d64_t;
+typedef _Decimal128 d128_t;
+
+typedef d32_t d32_t2;
+typedef d64_t d64_t2;
+typedef d128_t d128_t2;
+
+d32_t v_d32_t;
+d64_t v_d64_t;
+d128_t v_d128_t;
+
+d32_t2 v_d32_t2;
+d64_t2 v_d64_t2;
+d128_t2 v_d128_t2;
+
 struct decstruct
 {
   int int4;
This page took 0.025802 seconds and 4 git commands to generate.