etc/services - sync with NetBSD-8
[minix.git] / external / bsd / libc++ / dist / libcxx / test / strings / basic.string.literals / literal2.fail.cpp
blob68f1d254e3279d879251f43a50cdf3d3ec0d0e9f
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // The LLVM Compiler Infrastructure
5 //
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10 #include <string>
11 #include <cassert>
13 int main()
15 #if _LIBCPP_STD_VER > 11
16 std::string foo = ""s; // should fail w/conversion operator not found
17 #else
18 #error
19 #endif