http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52521
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 10:10:29 UTC --- Author: jakub Date: Thu Mar 22 10:10:24 2012 New Revision: 185683 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185683 Log: Backported from mainline 2012-03-14 Jakub Jelinek <ja...@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. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/udlit-args2.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/parser.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog