diff --git a/test/introspection.cpp b/test/introspection.cpp index 492e261b..29a4b8ae 100644 --- a/test/introspection.cpp +++ b/test/introspection.cpp @@ -23,8 +23,8 @@ namespace bar { /////////////////////////////////////////////////////////////////////////////// -template -struct templated_with_type { ValueT inner; }; +template +struct templated_with_type { }; template @@ -100,6 +100,12 @@ int main () "templated_with_type" ); + tap.expect_eq ( + cruft::type_name> (), + std::string_view {"templated_with_type"}, + "templated_with_type" + ); + tap.expect_eq ( cruft::type_name>> (), std::string_view {"templated_with_type >"},