Marshall Clow | fd2d680 | 2016-03-14 17:58:54 +0000 | [diff] [blame] | 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is dual licensed under the MIT and the University of Illinois Open |
| 6 | // Source Licenses. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | // <queue> |
| 11 | |
| 12 | #include <queue> |
| 13 | #include <cassert> |
| 14 | #include <type_traits> |
| 15 | |
| 16 | int main() |
| 17 | { |
| 18 | // LWG#2566 says that the first template param must match the second one's value type |
| 19 | std::queue<double, std::deque<int>> t; |
| 20 | } |