* testsuite/demangle-expected: Add four tests for type_info

mangling.

	* cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
	for a non-template non-qualified type_info function or node.
This commit is contained in:
Hans-Peter Nilsson
2000-09-10 19:43:30 +00:00
parent ff0829fd43
commit 1dc349e58c
3 changed files with 25 additions and 1 deletions

View File

@@ -2873,7 +2873,7 @@ gnu_special (work, mangled, declp)
success = demangle_template (work, mangled, declp, 0, 1, 1);
break;
default:
success = demangle_fund_type (work, mangled, declp);
success = do_type (work, mangled, declp);
break;
}
if (success && **mangled != '\0')