diff options
Diffstat (limited to 'test/std/utilities/smartptr/unique.ptr/unique.ptr.create/make_unique.array2.fail.cpp')
-rw-r--r-- | test/std/utilities/smartptr/unique.ptr/unique.ptr.create/make_unique.array2.fail.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/utilities/smartptr/unique.ptr/unique.ptr.create/make_unique.array2.fail.cpp b/test/std/utilities/smartptr/unique.ptr/unique.ptr.create/make_unique.array2.fail.cpp index cc94e9ab3..fda45ab89 100644 --- a/test/std/utilities/smartptr/unique.ptr/unique.ptr.create/make_unique.array2.fail.cpp +++ b/test/std/utilities/smartptr/unique.ptr/unique.ptr.create/make_unique.array2.fail.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 // //===----------------------------------------------------------------------===// @@ -11,7 +10,9 @@ #include <string> #include <cassert> -int main() +int main(int, char**) { auto up2 = std::make_unique<int[]>(10, 20, 30, 40); + + return 0; } |