1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
16 // typedef X element_type;
20 // REQUIRES: c++98 || c++03 || c++11 || c++14
23 #include <type_traits>
29 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), "");