diff options
author | Jason Merrill <jason@redhat.com> | 2011-03-08 12:30:46 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-03-08 12:30:46 -0500 |
commit | db68a2cbf7c1a12455dd1a59012985020f700424 (patch) | |
tree | 21e5d2084e6018539ca8fd6aa6517b548337c0b3 /gcc/cp/mangle.c | |
parent | 8c0672ff889f51799324cc4cb2a3f1b396768349 (diff) | |
download | gcc-db68a2cbf7c1a12455dd1a59012985020f700424.zip gcc-db68a2cbf7c1a12455dd1a59012985020f700424.tar.gz gcc-db68a2cbf7c1a12455dd1a59012985020f700424.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/mangle.c')
-rw-r--r-- | gcc/cp/mangle.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index c46ba30..f063d47 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -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 (); } |