xref: /aosp_15_r20/external/libcxx/test/std/strings/basic.string.literals/literal3.pass.cpp (revision 58b9f456b02922dfdb1fad8a988d5fd8765ecb80)
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 //===----------------------------------------------------------------------===//
10 
11 // UNSUPPORTED: c++98, c++03, c++11
12 
13 #include <string>
14 #include <cassert>
15 
main()16 int main()
17 {
18     using namespace std;
19 
20     string foo  =   ""s;
21 }
22