fd7481e96d
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185352 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
501 B
C++
18 lines
501 B
C++
//===----------------------------------------------------------------------===//
|
|
//
|
|
// 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.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
#include <cassert>
|
|
|
|
int main()
|
|
{
|
|
auto up4 = std::make_unique<int[5]>(11, 22, 33, 44, 55); // deleted
|
|
}
|