Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / std / strings / basic.string.literals / literal.verify.cpp
blob9bbc55036675bab08d5628f2951ad2db323d57c2
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03, c++11
11 #include <string>
13 void f() {
15 using std::string;
16 string foo = ""s; // expected-error {{no matching literal operator}}
19 std::string foo = ""s; // expected-error {{no matching literal operator}}