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

--- Comment #4 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2011-11-14 
05:03:05 UTC ---
Created attachment 25813
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25813
Patch in typeck.c and enhaced testcase.

gcc/testsuite/

2011-11-14  Ed Smith-Rowland  <3dw...@verizon.net>

    PR c++/51107
    * g++.dg/cpp0x/udlit-args-neg.C: Add check for void argument non-
    template literal operator.

gcc/cp/

2011-11-14  Ed Smith-Rowland  <3dw...@verizon.net>

    PR c++/51107
    * typeck.c (check_literal_operator_args): Add processing_specialization
    to check for void template fn. Test for exact arity for non-template fn.

Reply via email to