blob: 74d8cb33523f2863909039242b58cd1bfd61986c [file] [log] [blame]
Marshall Clowca0be232013-07-23 17:05:24 +00001// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
Chandler Carruth57b08b02019-01-19 10:56:40 +00004// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Marshall Clowca0be232013-07-23 17:05:24 +00007//
8//===----------------------------------------------------------------------===//
Asiri Rathnayake6edc12c2016-05-28 08:57:35 +00009
10// UNSUPPORTED: c++98, c++03, c++11
11
Marshall Clowca0be232013-07-23 17:05:24 +000012#include <string>
13#include <cassert>
14
Marshall Clow7fc6a552019-05-31 18:35:30 +000015#include "test_macros.h"
16
JF Bastien2df59c52019-02-04 20:31:13 +000017int main(int, char**)
Marshall Clowca0be232013-07-23 17:05:24 +000018{
Marshall Clowca0be232013-07-23 17:05:24 +000019 using namespace std::literals;
20
Howard Hinnantd0987132013-08-07 19:39:48 +000021 std::string foo = ""s;
JF Bastien2df59c52019-02-04 20:31:13 +000022
23 return 0;
Marshall Clowca0be232013-07-23 17:05:24 +000024}