aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/cxx-templates.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/cxx-templates.h')
-rw-r--r--test/PCH/cxx-templates.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/PCH/cxx-templates.h b/test/PCH/cxx-templates.h
index ca4a29fde7..bfc0def146 100644
--- a/test/PCH/cxx-templates.h
+++ b/test/PCH/cxx-templates.h
@@ -51,5 +51,6 @@ struct Dep {
template<typename T, typename A1>
inline T make_a(const A1& a1) {
+ T::depend_declref();
return T(a1);
}