Add failing tests that I forgot to add to the last commit
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@263451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// <queue>
|
||||
|
||||
#include <queue>
|
||||
#include <cassert>
|
||||
#include <type_traits>
|
||||
|
||||
int main()
|
||||
{
|
||||
// LWG#2566 says that the first template param must match the second one's value type
|
||||
std::queue<double, std::deque<int>> t;
|
||||
}
|
||||
Reference in New Issue
Block a user