blob: 3cc2936a115dd4a78ff4ec604ede3f451201a653 [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{
Marshall Clowca0be232013-07-23 17:05:24 +000018 using namespace std::literals::string_literals;
19
Howard Hinnantd0987132013-08-07 19:39:48 +000020 std::string foo = ""s;
Marshall Clowca0be232013-07-23 17:05:24 +000021}