//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// type_traits
// remove_cv
#include<type_traits>template<classT,classU>voidtest_remove_cv_imp(){static_assert((std::is_same<typenamestd::remove_cv<T>::type,U>::value),"");}template<classT>voidtest_remove_cv(){test_remove_cv_imp<T,T>();test_remove_cv_imp<constT,T>();test_remove_cv_imp<volatileT,T>();test_remove_cv_imp<constvolatileT,T>();}intmain(){test_remove_cv<void>();test_remove_cv<int>();test_remove_cv<int[3]>();test_remove_cv<int&>();test_remove_cv<constint&>();test_remove_cv<int*>();test_remove_cv<constint*>();}