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