summaryrefslogtreecommitdiffstats
path: root/libcxx/test/utilities
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-12-10 19:22:00 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-12-10 19:22:00 +0000
commit088bd9aa1462b6fa1a1caddcf89935e8a340e4c6 (patch)
treeaa6990340ae4a4a7b94f532d7edc0ff92b68a361 /libcxx/test/utilities
parent240f8c7dd17f0b2c328e319b378ef794ca922b72 (diff)
downloadbcm5719-llvm-088bd9aa1462b6fa1a1caddcf89935e8a340e4c6.tar.gz
bcm5719-llvm-088bd9aa1462b6fa1a1caddcf89935e8a340e4c6.zip
This got accidentally removed
llvm-svn: 121502
Diffstat (limited to 'libcxx/test/utilities')
-rw-r--r--libcxx/test/utilities/function.objects/version.pass.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/libcxx/test/utilities/function.objects/version.pass.cpp b/libcxx/test/utilities/function.objects/version.pass.cpp
new file mode 100644
index 00000000000..99d731a7454
--- /dev/null
+++ b/libcxx/test/utilities/function.objects/version.pass.cpp
@@ -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.
+//
+//===----------------------------------------------------------------------===//
+
+// <functional>
+
+#include <functional>
+
+#ifndef _LIBCPP_VERSION
+#error _LIBCPP_VERSION not defined
+#endif
+
+int main()
+{
+}
OpenPOWER on IntegriCloud