blob: b7a8d55368753a8a1df6ffb7c5e34dd38406e5f7 [file] [log] [blame]
Marshall Clow3ceafc72013-10-05 21:18:32 +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 Clow3ceafc72013-10-05 21:18:32 +00007//
8//===----------------------------------------------------------------------===//
Asiri Rathnayake6edc12c2016-05-28 08:57:35 +00009
10// UNSUPPORTED: c++98, c++03, c++11
11
Marshall Clow3ceafc72013-10-05 21:18:32 +000012#include <string>
13#include <cassert>
14
JF Bastien2df59c52019-02-04 20:31:13 +000015int main(int, char**)
Marshall Clow3ceafc72013-10-05 21:18:32 +000016{
Marshall Clow3ceafc72013-10-05 21:18:32 +000017 using namespace std;
18
19 string foo = ""s;
JF Bastien2df59c52019-02-04 20:31:13 +000020
21 return 0;
Marshall Clow3ceafc72013-10-05 21:18:32 +000022}