blob: 99f92fde97247131e8d06fc674b1585c18421dfc [file] [log] [blame]
Marshall Clowca0be232013-07-23 17:05:24 +00001// -*- 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//===----------------------------------------------------------------------===//
Asiri Rathnayake6edc12c2016-05-28 08:57:35 +000010
11// UNSUPPORTED: c++98, c++03, c++11
12
Marshall Clowca0be232013-07-23 17:05:24 +000013#include <string>
14#include <cassert>
15
16int main()
17{
Howard Hinnantd0987132013-08-07 19:39:48 +000018 std::string foo = ""s; // should fail w/conversion operator not found
Marshall Clowca0be232013-07-23 17:05:24 +000019}