| //===----------------------------------------------------------------------===// |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| //===----------------------------------------------------------------------===// |
| // template <class T, class Container> |
| // void swap(queue<T, Container>& x, queue<T, Container>& y); |
| for (int i = 0; i < n; ++i) |
| std::queue<int> q1 = make<std::queue<int> >(5); |
| std::queue<int> q2 = make<std::queue<int> >(10); |
| std::queue<int> q1_save = q1; |
| std::queue<int> q2_save = q2; |