| //===----------------------------------------------------------------------===// |
| // ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| // template <class T1, class T2> struct pair |
| // template<class U, class V> pair(U&& x, V&& y); |
| typedef std::pair<std::unique_ptr<int>, short*> P; |
| P p(std::unique_ptr<int>(new int(3)), nullptr); |
| assert(p.second == nullptr); |