blob: 75390e5ae9032544880c3339fcf58dd5ccd1b482 [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
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 Clow3ceafc72013-10-05 21:18:32 +000018{
Marshall Clow3ceafc72013-10-05 21:18:32 +000019 using namespace std;
20
21 string foo = ""s;
JF Bastien2df59c52019-02-04 20:31:13 +000022
23 return 0;
Marshall Clow3ceafc72013-10-05 21:18:32 +000024}