summaryrefslogtreecommitdiff
path: root/test/std/numerics/complex.number/complex.special/long_double_double_explicit.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/numerics/complex.number/complex.special/long_double_double_explicit.pass.cpp')
-rw-r--r--test/std/numerics/complex.number/complex.special/long_double_double_explicit.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/numerics/complex.number/complex.special/long_double_double_explicit.pass.cpp b/test/std/numerics/complex.number/complex.special/long_double_double_explicit.pass.cpp
index 4f24a1c65..e257db2bd 100644
--- a/test/std/numerics/complex.number/complex.special/long_double_double_explicit.pass.cpp
+++ b/test/std/numerics/complex.number/complex.special/long_double_double_explicit.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
//
//===----------------------------------------------------------------------===//
@@ -20,7 +19,7 @@
#include "test_macros.h"
-int main()
+int main(int, char**)
{
{
const std::complex<double> cd(2.5, 3.5);
@@ -36,4 +35,6 @@ int main()
static_assert(cf.imag() == cd.imag(), "");
}
#endif
+
+ return 0;
}