diff options
Diffstat (limited to 'test/std/strings/string.view/string_view.literals/literal2.fail.cpp')
-rw-r--r-- | test/std/strings/string.view/string_view.literals/literal2.fail.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/strings/string.view/string_view.literals/literal2.fail.cpp b/test/std/strings/string.view/string_view.literals/literal2.fail.cpp index 4907a5510..2287e1ce9 100644 --- a/test/std/strings/string.view/string_view.literals/literal2.fail.cpp +++ b/test/std/strings/string.view/string_view.literals/literal2.fail.cpp @@ -1,10 +1,9 @@ // -*- C++ -*- //===----------------------------------------------------------------------===// // -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -15,7 +14,9 @@ #include <string_view> #include <cassert> -int main() +int main(int, char**) { std::string_view foo = ""sv; // should fail w/conversion operator not found + + return 0; } |