From 5a83710e371fe68a06e6e3876c6a2c8b820a8976 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 20 Dec 2014 01:40:03 +0000 Subject: Move test into test/std subdirectory. llvm-svn: 224658 --- .../priority.queue/priqueue.special/swap.pass.cpp | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 libcxx/test/containers/container.adaptors/priority.queue/priqueue.special/swap.pass.cpp (limited to 'libcxx/test/containers/container.adaptors/priority.queue/priqueue.special/swap.pass.cpp') diff --git a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.special/swap.pass.cpp b/libcxx/test/containers/container.adaptors/priority.queue/priqueue.special/swap.pass.cpp deleted file mode 100644 index 1a828adde35..00000000000 --- a/libcxx/test/containers/container.adaptors/priority.queue/priqueue.special/swap.pass.cpp +++ /dev/null @@ -1,32 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// - -// priority_queue(); - -// template -// void swap(priority_queue& x, -// priority_queue& y); - -#include -#include - -int main() -{ - std::priority_queue q1; - std::priority_queue q2; - q1.push(1); - q1.push(3); - q1.push(2); - swap(q1, q2); - assert(q1.empty()); - assert(q2.size() == 3); - assert(q2.top() == 3); -} -- cgit v1.2.3