re PR c++/47488 (sorry, unimplemented: string literal in function template signature)

PR c++/47488
	* mangle.c (write_template_arg_literal) [STRING_CST]: Sorry.

From-SVN: r170785
This commit is contained in:
Jason Merrill 2011-03-08 12:39:10 -05:00 committed by Jason Merrill
parent 6093fb9cee
commit 2d05576a4c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-03-08 Jason Merrill <jason@redhat.com>
PR c++/47488
* mangle.c (write_template_arg_literal) [STRING_CST]: Sorry.
2011-02-03 Jonathan Wakely <jwakely.gcc@gmail.com>
PR c++/47589

View File

@ -2443,6 +2443,10 @@ write_template_arg_literal (const tree value)
write_real_cst (value);
break;
case STRING_CST:
sorry ("string literal in function template signature");
break;
default:
gcc_unreachable ();
}