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