Fix type casts losing typedefs and reimplement "whatis" typedef stripping
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.python / py-prettyprint.c
index fd58358d9a69d5426d4e600efa37b0bb99e80e74..82f9fe7676d860d7b23371f8c2ce27f84770ff52 100644 (file)
@@ -257,6 +257,15 @@ bug_14741()
   set_item(&c, 0, 5);
 }
 
+/* Some typedefs/variables for checking that GDB doesn't lose typedefs
+   when looking for a printer.  */
+typedef int int_type;
+typedef int_type int_type2;
+
+int an_int = -1;
+int_type an_int_type = 1;
+int_type2 an_int_type2 = 2;
+
 int
 main ()
 {
This page took 0.024476 seconds and 4 git commands to generate.