[LLVMbugs] [Bug 13043] Too many overloaded operators in the overload set, if argument type is scoped enumeration and template parameter

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 19 17:50:04 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=13043

Nikola Smiljanić <popizdeh at gmail.com> changed:

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

--- Comment #3 from Nikola Smiljanić <popizdeh at gmail.com> ---
We now produce an error (tested with r208386):

test.cpp:40:17: error: invalid operands to binary expression ('X' and 'X')
  auto x = X::a | X::a;
           ~~~~ ^ ~~~~

-- 
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/20140520/2eadb155/attachment.html>


More information about the llvm-bugs mailing list