summaryrefslogtreecommitdiffstats
path: root/libcxx/test/experimental/string.view/nothing_to_do.pass.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2014-06-11 16:44:55 +0000
committerMarshall Clow <mclow.lists@gmail.com>2014-06-11 16:44:55 +0000
commit5aa8fa250df9ff1e9e579836093a9dd09887f6a3 (patch)
treeb8fe4c764a25b86d417025a6e750ee212d374bea /libcxx/test/experimental/string.view/nothing_to_do.pass.cpp
parent56a696700083896f6f0534c22200671fbb80b51d (diff)
downloadbcm5719-llvm-5aa8fa250df9ff1e9e579836093a9dd09887f6a3.tar.gz
bcm5719-llvm-5aa8fa250df9ff1e9e579836093a9dd09887f6a3.zip
Implement string_view from the library fundamentals TS (n4023). Also works in C++11 and 03, with reduced functionality (mostly in the area of constexpr)
llvm-svn: 210659
Diffstat (limited to 'libcxx/test/experimental/string.view/nothing_to_do.pass.cpp')
-rw-r--r--libcxx/test/experimental/string.view/nothing_to_do.pass.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcxx/test/experimental/string.view/nothing_to_do.pass.cpp b/libcxx/test/experimental/string.view/nothing_to_do.pass.cpp
new file mode 100644
index 00000000000..c21f8a70168
--- /dev/null
+++ b/libcxx/test/experimental/string.view/nothing_to_do.pass.cpp
@@ -0,0 +1,12 @@
+//===----------------------------------------------------------------------===//
+//
+// 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.
+//
+//===----------------------------------------------------------------------===//
+
+#include <experimental/string_view>
+
+int main () {}
OpenPOWER on IntegriCloud