1*4684ddb6SLionel Sambuc // -*- C++ -*- 2*4684ddb6SLionel Sambuc //===----------------------------------------------------------------------===// 3*4684ddb6SLionel Sambuc // 4*4684ddb6SLionel Sambuc // The LLVM Compiler Infrastructure 5*4684ddb6SLionel Sambuc // 6*4684ddb6SLionel Sambuc // This file is dual licensed under the MIT and the University of Illinois Open 7*4684ddb6SLionel Sambuc // Source Licenses. See LICENSE.TXT for details. 8*4684ddb6SLionel Sambuc // 9*4684ddb6SLionel Sambuc //===----------------------------------------------------------------------===// 10*4684ddb6SLionel Sambuc #include <string> 11*4684ddb6SLionel Sambuc #include <cassert> 12*4684ddb6SLionel Sambuc main()13*4684ddb6SLionel Sambucint main() 14*4684ddb6SLionel Sambuc { 15*4684ddb6SLionel Sambuc #if _LIBCPP_STD_VER > 11 16*4684ddb6SLionel Sambuc using std::string; 17*4684ddb6SLionel Sambuc 18*4684ddb6SLionel Sambuc string foo = ""s; // should fail w/conversion operator not found 19*4684ddb6SLionel Sambuc #else 20*4684ddb6SLionel Sambuc #error 21*4684ddb6SLionel Sambuc #endif 22*4684ddb6SLionel Sambuc } 23