diff options
Diffstat (limited to 'clang/test/PCH/cxx-templates.cpp')
-rw-r--r-- | clang/test/PCH/cxx-templates.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/PCH/cxx-templates.cpp b/clang/test/PCH/cxx-templates.cpp index 982fc67e4e8..7ce247721f8 100644 --- a/clang/test/PCH/cxx-templates.cpp +++ b/clang/test/PCH/cxx-templates.cpp @@ -62,3 +62,9 @@ namespace Test1 { } }; } + +template< typename D > +Foo< D >& Foo< D >::operator=( const Foo& other ) +{ + return *this; +} |