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 --- .../func.wrap.func.nullptr/operator_==.pass.cpp | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/operator_==.pass.cpp (limited to 'libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr') diff --git a/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/operator_==.pass.cpp b/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/operator_==.pass.cpp deleted file mode 100644 index 5bca0968702..00000000000 --- a/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/operator_==.pass.cpp +++ /dev/null @@ -1,41 +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. -// -//===----------------------------------------------------------------------===// - -// - -// class function - -// template -// bool operator==(const function&, nullptr_t); -// -// template -// bool operator==(nullptr_t, const function&); -// -// template -// bool operator!=(const function&, nullptr_t); -// -// template -// bool operator!=(nullptr_t, const function&); - -#include -#include - -int g(int) {return 0;} - -int main() -{ - { - std::function f; - assert(f == nullptr); - assert(nullptr == f); - f = g; - assert(f != nullptr); - assert(nullptr != f); - } -} -- cgit v1.2.3