//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // template // class complex // { // public: // typedef T value_type; // ... // }; #include #include template void test() { typedef std::complex C; static_assert((std::is_same::value), ""); } int main() { test(); test(); test(); }