diff options
Diffstat (limited to 'test/Modules/Inputs/templates-top.h')
-rw-r--r-- | test/Modules/Inputs/templates-top.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/Modules/Inputs/templates-top.h b/test/Modules/Inputs/templates-top.h new file mode 100644 index 000000000000..5985ee8820d6 --- /dev/null +++ b/test/Modules/Inputs/templates-top.h @@ -0,0 +1,17 @@ +template<typename T> class Vector; + +template<typename T> class List { +public: + void push_back(T); +}; + +namespace A { + class Y { + template <typename T> friend class WhereAmI; + }; +} + +template <typename T> class A::WhereAmI { +public: + static void func() {} +}; |