1*58b9f456SAndroid Build Coastguard Worker // -*- C++ -*- 2*58b9f456SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===// 3*58b9f456SAndroid Build Coastguard Worker // 4*58b9f456SAndroid Build Coastguard Worker // The LLVM Compiler Infrastructure 5*58b9f456SAndroid Build Coastguard Worker // 6*58b9f456SAndroid Build Coastguard Worker // This file is dual licensed under the MIT and the University of Illinois Open 7*58b9f456SAndroid Build Coastguard Worker // Source Licenses. See LICENSE.TXT for details. 8*58b9f456SAndroid Build Coastguard Worker // 9*58b9f456SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===// 10*58b9f456SAndroid Build Coastguard Worker 11*58b9f456SAndroid Build Coastguard Worker // UNSUPPORTED: c++98, c++03, c++11 12*58b9f456SAndroid Build Coastguard Worker 13*58b9f456SAndroid Build Coastguard Worker #include <string> 14*58b9f456SAndroid Build Coastguard Worker #include <cassert> 15*58b9f456SAndroid Build Coastguard Worker main()16*58b9f456SAndroid Build Coastguard Workerint main() 17*58b9f456SAndroid Build Coastguard Worker { 18*58b9f456SAndroid Build Coastguard Worker using std::string; 19*58b9f456SAndroid Build Coastguard Worker 20*58b9f456SAndroid Build Coastguard Worker string foo = ""s; // should fail w/conversion operator not found 21*58b9f456SAndroid Build Coastguard Worker } 22