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

             Bug #: 14033
           Summary: clang++ fails to find ambiguity between two overloads,
                    `const T&` and `T&&` (both would accept an rvalue)
           Product: clang
           Version: 3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Created attachment 9313
  --> http://llvm.org/bugs/attachment.cgi?id=9313
test case source, output and compilation script

$ clang++ --version
Debian clang version 3.1-8 (branches/release_31) (based on LLVM 3.1)
Target: x86_64-pc-linux-gnu
Thread model: posix

gcc will point it out with `-Wextra -Wall -pedantic`, clang won't even with
those flags

full code for small test case, output and compilation script attached

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to