summaryrefslogtreecommitdiff
path: root/test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp')
-rw-r--r--test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp b/test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp
index 75745dab6..7d37e1075 100644
--- a/test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp
+++ b/test/std/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp
@@ -1,9 +1,8 @@
//===----------------------------------------------------------------------===//
//
-// 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
//
//===----------------------------------------------------------------------===//
@@ -365,7 +364,7 @@ void test2()
test(S("abcdefghijklmnopqrst"), 21, 0, 20, '2', S("can't happen"));
}
-int main()
+int main(int, char**)
{
{
typedef std::string S;
@@ -381,4 +380,6 @@ int main()
test2<S>();
}
#endif
+
+ return 0;
}