summaryrefslogtreecommitdiff
path: root/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp')
-rw-r--r--test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp b/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp
index 93c49a6ab..707a7010f 100644
--- a/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp
+++ b/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.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
//
//===----------------------------------------------------------------------===//
@@ -34,7 +33,7 @@ MultiStringType longString = MKSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR
// generic_string<C, T, A> forwards to string<C, T, A>. Tests for
// string<C, T, A>() are in "path.native.op/string_alloc.pass.cpp".
// generic_string is minimally tested here.
-int main()
+int main(int, char**)
{
using namespace fs;
using CharT = wchar_t;
@@ -52,4 +51,6 @@ int main()
assert(Alloc::alloc_count > 0);
assert(Alloc::outstanding_alloc() == 1);
}
+
+ return 0;
}