| //===----------------------------------------------------------------------===// |
| // The LLVM Compiler Infrastructure |
| // This file is dual licensed under the MIT and the University of Illinois Open |
| // Source Licenses. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| // template <class T1, class T2> struct pair |
| // template <class T1, class T2> void swap(pair<T1, T2>& x, pair<T1, T2>& y); |
| typedef std::pair<int, short> P1; |
| P1 p1(3, static_cast<short>(4)); |
| P1 p2(5, static_cast<short>(6)); |