diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-12-31 12:46:18 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-12-31 12:46:18 +0100 |
commit | cc81fd182879509b81a950dd586f8269c970502f (patch) | |
tree | c51d8d1cc8c676c3d17bb9a2e900b434bb415c18 /fixincludes/fixincl.x | |
parent | a67d93194a23a00de6c09821fe8fd6c31ac2fd9e (diff) | |
download | gcc-cc81fd182879509b81a950dd586f8269c970502f.zip gcc-cc81fd182879509b81a950dd586f8269c970502f.tar.gz gcc-cc81fd182879509b81a950dd586f8269c970502f.tar.bz2 |
re PR c++/38647 (ICE using __FUNCTION__ as template parameter)
PR c++/38647
* parser.c (cp_parser_primary_expression) <case RID_FUNCTION_NAME>:
Return error_mark_node if cp_parser_non_integral_constant_expression
returns true.
* g++.dg/template/function1.C: New test.
From-SVN: r142978
Diffstat (limited to 'fixincludes/fixincl.x')
0 files changed, 0 insertions, 0 deletions