//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // template // struct common_type, chrono::duration> // { // typedef chrono::duration::type, see below }> type; // }; #include template void test() { typedef typename std::common_type::type Dc; static_assert((std::is_same::value), ""); } int main() { test >, std::chrono::duration >, std::chrono::duration > >(); test >, std::chrono::duration >, std::chrono::duration > >(); test >, std::chrono::duration >, std::chrono::duration > >(); test >, std::chrono::duration >, std::chrono::duration > >(); }