Commit db68a2cb by Jason Merrill Committed by Jason Merrill

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: r170783
parent 8c0672ff
2011-03-08 Jason Merrill <jason@redhat.com>
PR c++/47488
* mangle.c (write_template_arg_literal) [STRING_CST]: Sorry.
PR c++/47705
* pt.c (convert_nontype_argument): Don't crash on non-pointer
argument to pointer parameter.
......
......@@ -2764,6 +2764,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 ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment