Marshall Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 1 | // -*- 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 Rathnayake | 6edc12c | 2016-05-28 08:57:35 +0000 | [diff] [blame] | 10 | |
| 11 | // UNSUPPORTED: c++98, c++03, c++11 |
| 12 | |
Marshall Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 13 | #include <string> |
| 14 | #include <cassert> |
| 15 | |
| 16 | int main() |
| 17 | { |
Marshall Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 18 | using namespace std; |
| 19 | |
| 20 | string foo = ""s; |
Marshall Clow | 3ceafc7 | 2013-10-05 21:18:32 +0000 | [diff] [blame] | 21 | } |