diff options
Diffstat (limited to 'tests/cxx/explicit_instantiation2-template_helpers.h')
-rw-r--r-- | tests/cxx/explicit_instantiation2-template_helpers.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/cxx/explicit_instantiation2-template_helpers.h b/tests/cxx/explicit_instantiation2-template_helpers.h index 5068fe1..71c3679 100644 --- a/tests/cxx/explicit_instantiation2-template_helpers.h +++ b/tests/cxx/explicit_instantiation2-template_helpers.h @@ -37,4 +37,12 @@ class TemplateTemplateArgShortFwd { T<short>* t; }; +template <class T> +class ProvidedTemplate {}; + +template <class U = short, class T = ProvidedTemplate<U>> +class TemplateAsDefaultFullProvided { + T t; +}; + #endif // INCLUDE_WHAT_YOU_USE_TESTS_CXX_EXPLICIT_INSTANTIATION2_TEMPLATE_HELPERS_H_ |