OSDN Git Service

Backported from mainline
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 10:10:24 +0000 (10:10 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 10:10:24 +0000 (10:10 +0000)
commita65cf0b4b9291e6d5301b47c2cfd02790dd96c9b
treeaa4a5c418aa337ce96b456fcc2a7b85732e45024
parent2f6337fb9960bdcb59224164a8aa9e4ef9c50e89
Backported from mainline
2012-03-14  Jakub Jelinek  <jakub@redhat.com>

PR c++/52521
* parser.c (lookup_literal_operator): Return fn only if
processed all arguments from args vector and argtypes is
void_list_node.

* g++.dg/cpp0x/udlit-args2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185683 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/udlit-args2.C [new file with mode: 0644]