summaryrefslogtreecommitdiff
path: root/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp')
-rw-r--r--test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp b/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp
index 4c4895b2a..e4190fe33 100644
--- a/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.pass.cpp
+++ b/test/std/utilities/time/time.duration/time.duration.nonmember/op_divide_duration.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
//
//===----------------------------------------------------------------------===//
@@ -22,7 +21,7 @@
#include "test_macros.h"
#include "truncate_fp.h"
-int main()
+int main(int, char**)
{
{
std::chrono::nanoseconds ns1(15);
@@ -66,4 +65,6 @@ int main()
static_assert(s1 / s2 == 20./3, "");
}
#endif
+
+ return 0;
}