summaryrefslogtreecommitdiffstats
path: root/libcxx/test/strings/basic.string.literals/literal1.fail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/strings/basic.string.literals/literal1.fail.cpp')
-rw-r--r--libcxx/test/strings/basic.string.literals/literal1.fail.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/libcxx/test/strings/basic.string.literals/literal1.fail.cpp b/libcxx/test/strings/basic.string.literals/literal1.fail.cpp
deleted file mode 100644
index 6ba0b30d458..00000000000
--- a/libcxx/test/strings/basic.string.literals/literal1.fail.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-// -*- C++ -*-
-//===----------------------------------------------------------------------===//
-//
-// 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 <string>
-#include <cassert>
-
-int main()
-{
-#if _LIBCPP_STD_VER > 11
- using std::string;
-
- string foo = ""s; // should fail w/conversion operator not found
-#else
-#error
-#endif
-}
OpenPOWER on IntegriCloud