summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental/func/header.functional.synop/includes.pass.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-07-20 16:39:28 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-07-20 16:39:28 +0000
commit205c333c99fadad177d4e009111978c979ce38ab (patch)
tree05f36f3ddd5c9eb0759431ac4ab9d555c7f7a6ff /libcxx/test/std/experimental/func/header.functional.synop/includes.pass.cpp
parent44e82db2919c9caab3530d03e066943c58dc6fcd (diff)
downloadbcm5719-llvm-205c333c99fadad177d4e009111978c979ce38ab.tar.gz
bcm5719-llvm-205c333c99fadad177d4e009111978c979ce38ab.zip
Implement the default searcher for std::experimental::search.
llvm-svn: 242682
Diffstat (limited to 'libcxx/test/std/experimental/func/header.functional.synop/includes.pass.cpp')
-rw-r--r--libcxx/test/std/experimental/func/header.functional.synop/includes.pass.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/libcxx/test/std/experimental/func/header.functional.synop/includes.pass.cpp b/libcxx/test/std/experimental/func/header.functional.synop/includes.pass.cpp
new file mode 100644
index 00000000000..1b72d4a7ad0
--- /dev/null
+++ b/libcxx/test/std/experimental/func/header.functional.synop/includes.pass.cpp
@@ -0,0 +1,21 @@
+//===----------------------------------------------------------------------===//
+//
+// 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.
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++98, c++03, c++11
+
+// <experimental/functional>
+//
+// has to include <functional>
+
+#include <experimental/functional>
+
+int main()
+{
+ std::function<int(int)> x;
+}
OpenPOWER on IntegriCloud