[PowerPC][NFC] Cleanup PPCCTRLoopsVerify pass
[llvm-project.git] / libcxx / test / std / strings / string.view / string_view.literals / literal1.compile.fail.cpp
blob9e8d7c9434dec4d0d454d86bbbdbda0f86aebcee
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
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
7 //
8 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: c++03, c++11
12 #include <string_view>
13 #include <cassert>
15 int main(int, char**)
17 using std::string_view;
19 string_view foo = ""sv; // should fail w/conversion operator not found
21 return 0;