]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.python/py-prettyprint.c
Allow a pretty-printer without a to_string method
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.python / py-prettyprint.c
index 35ef5e0756b182c56145bd11961046407f22dede..ef5b0c3c5eade57141c47d99a3e3b18411812b60 100644 (file)
@@ -271,10 +271,12 @@ bug_14741()
    when looking for a printer.  */
 typedef int int_type;
 typedef int_type int_type2;
+typedef int_type int_type3;
 
 int an_int = -1;
 int_type an_int_type = 1;
 int_type2 an_int_type2 = 2;
+int_type3 an_int_type3 = 3;
 
 int
 main ()