Marshall Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 1 | // -*- C++ -*- |
| 2 | //===----------------------------------------------------------------------===// |
| 3 | // |
Chandler Carruth | 57b08b0 | 2019-01-19 10:56:40 +0000 | [diff] [blame] | 4 | // 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 Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
Asiri Rathnayake | 6edc12c | 2016-05-28 08:57:35 +0000 | [diff] [blame] | 9 | |
| 10 | // UNSUPPORTED: c++98, c++03, c++11 |
| 11 | |
Marshall Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 12 | #include <string> |
| 13 | #include <cassert> |
| 14 | |
Marshall Clow | 7fc6a55 | 2019-05-31 18:35:30 +0000 | [diff] [blame] | 15 | #include "test_macros.h" |
| 16 | |
JF Bastien | 2df59c5 | 2019-02-04 20:31:13 +0000 | [diff] [blame] | 17 | int main(int, char**) |
Marshall Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 18 | { |
Marshall Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 19 | using namespace std; |
| 20 | |
| 21 | string foo = ""s; |
JF Bastien | 2df59c5 | 2019-02-04 20:31:13 +0000 | [diff] [blame] | 22 | |
| 23 | return 0; |
Marshall Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 24 | } |