diff options
Diffstat (limited to 'gdb/testsuite/gdb.python/py-symtab.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-symtab.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-symtab.exp b/gdb/testsuite/gdb.python/py-symtab.exp index da0c3e4be29..0d3a5f2d83a 100644 --- a/gdb/testsuite/gdb.python/py-symtab.exp +++ b/gdb/testsuite/gdb.python/py-symtab.exp @@ -73,3 +73,6 @@ gdb_test "python print \"simple_struct\" in static_symbols" "True" "Test simple_ gdb_unload gdb_test "python print sal.is_valid()" "False" "Test sal.is_valid" gdb_test "python print symtab.is_valid()" "False" "Test symtab.is_valid()" + +gdb_test_no_output "python sal = None" "Test sal destructor" +gdb_test_no_output "python symtab = None" "Test symtab destructor" |