Support a couple more C++ Exprs for PCH.
llvm-svn: 106727
diff --git a/clang/test/PCH/cxx-templates.h b/clang/test/PCH/cxx-templates.h
index c7dc7e8..39c5591 100644
--- a/clang/test/PCH/cxx-templates.h
+++ b/clang/test/PCH/cxx-templates.h
@@ -19,3 +19,18 @@
 T templ_f(T x) {
   return x;
 }
+
+template <typename T>
+struct Dep {
+  typedef typename T::type Ty;
+  void f() {
+    Ty x = Ty();
+    T::my_f();
+    int y = T::template my_templf<int>(0);
+  }
+};
+
+template<typename T, typename A1>
+inline T make_a(const A1& a1) {
+  return T(a1);
+}