# Some compilers strip trivial typedefs in the debuginfo from classes' base # classes. Sometimes this can be fixed with -fno-eliminate-unused-debug-types, # but not always. Allow this test to pass if the typedefs are stripped. # # It would probably be better to figure out how to make the compiler emit them, # since I think this test is here for a reason. if gdb.lookup_type("F").fields()[0].name == "C_": # We have the typedef info.
assert_eq(implemented_type_names("f"), ["F", "C_", "D_", "C", "D"])
assert_eq(implemented_type_names("h"), ["H", "F", "G", "C_", "D_", "C", "D"]) else:
assert_eq(implemented_type_names("f"), ["F", "C", "D"])
assert_eq(implemented_type_names("h"), ["H", "F", "G", "C", "D"])
# Check that our pretty-printers aren't interfering with printing other types.
assert_pretty("10", "10")
assert_pretty("(void*) 0", "") # Because of 'set print address off'
Messung V0.5
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.