]> granicus.if.org Git - clang/commit
Add test for overload resolution's preference for binding an rvalue
authorDouglas Gregor <dgregor@apple.com>
Fri, 21 Jan 2011 16:48:38 +0000 (16:48 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 21 Jan 2011 16:48:38 +0000 (16:48 +0000)
commitb13ede9f440f52ccfce046f1eba98679e9ffc0e6
tree1ed7ed86d8354738d2d0203348a3a14ade7fe7bd
parent0baa92292ba26aa4ff1cf202623a2c7dc7c43aaf
Add test for overload resolution's preference for binding an rvalue
reference to an rvalue rather than binding a const-qualified lvalue
reference to that rvalue.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123979 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/CXX/over/over.match/over.match.best/over.ics.rank/p3-0x.cpp [new file with mode: 0644]