[LLVMbugs] [Bug 23028] No diagnostic for function parameter pack with default argument

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 27 07:00:00 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23028

Benjamin Kramer <benny.kra at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |benny.kra at gmail.com
         Resolution|---                         |FIXED

--- Comment #1 from Benjamin Kramer <benny.kra at gmail.com> ---
Fixed in r233376.

t.cc:2:14: error: parameter pack cannot have a default argument
void f(Ts... = 0) {}
             ^ ~
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150327/224b52f8/attachment.html>


More information about the llvm-bugs mailing list