aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-type.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-type.c')
-rw-r--r--gdb/testsuite/gdb.python/py-type.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-type.c b/gdb/testsuite/gdb.python/py-type.c
index bedabc6..7a0df8a 100644
--- a/gdb/testsuite/gdb.python/py-type.c
+++ b/gdb/testsuite/gdb.python/py-type.c
@@ -118,6 +118,11 @@ main ()
c.a_method (0, 1);
c.a_const_method (0, 1);
C::a_static_method (0, 1);
+
+ struct Local { int g; } l;
+ l.g = 5;
+ typedef int IntType;
+ IntType it = 6;
#endif
enum E e;