//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // type_traits // remove_const #include template void test_remove_const_imp() { static_assert((std::is_same::type, U>::value), ""); } template void test_remove_const() { test_remove_const_imp(); test_remove_const_imp(); test_remove_const_imp(); test_remove_const_imp(); } int main() { test_remove_const(); test_remove_const(); test_remove_const(); test_remove_const(); test_remove_const(); test_remove_const(); test_remove_const(); }