[llvm-bugs] [Bug 6620] Unnamed namespace problem

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 18 18:04:32 PDT 2018


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

Hao Zhong <zhonghao at pku.org.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zhonghao at pku.org.cn
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Hao Zhong <zhonghao at pku.org.cn> ---
In this test case, the follow code shall return a value:

 int f(T& l, U& r)
            { numeric::greater(l, r); }

clang does not produce any error messages nor warnings, but gcc will produce a
warning for this code.

-- 
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/20180419/e7eec4dd/attachment.html>


More information about the llvm-bugs mailing list