This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52521] [C++11] user defined literals and order of declaration


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52521

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-14 08:30:45 UTC ---
Author: jakub
Date: Wed Mar 14 08:30:23 2012
New Revision: 185375

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185375
Log:
    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:
    trunk/gcc/testsuite/g++.dg/cpp0x/udlit-args2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]