//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <memory>
// unique_ptr
// test op*()
#include<memory>#include<cassert>intmain(){{std::unique_ptr<int>p(newint(3));if(p);elseassert(false);if(!p)assert(false);}{std::unique_ptr<int>p;if(!p);elseassert(false);if(p)assert(false);}}