http://sourceware.org/bugzilla/show_bug.cgi?id=11572
	* cp-demangle.c (d_find_pack): Add case for
	DEMANGLE_COMPONENT_LAMBDA.
	* testsuite/demangle-expected: Add regression test.
This commit is contained in:
Tom Tromey
2010-09-10 22:42:05 +00:00
parent 8e64f2a0d1
commit 57cf60a5bb
3 changed files with 39 additions and 0 deletions

View File

@@ -3480,6 +3480,7 @@ d_find_pack (struct d_print_info *dpi,
case DEMANGLE_COMPONENT_PACK_EXPANSION:
return NULL;
case DEMANGLE_COMPONENT_LAMBDA:
case DEMANGLE_COMPONENT_NAME:
case DEMANGLE_COMPONENT_OPERATOR:
case DEMANGLE_COMPONENT_BUILTIN_TYPE: