diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/PCH/cxx-templates.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/PCH/cxx-templates.h b/test/PCH/cxx-templates.h index 945197b923..b17b355db5 100644 --- a/test/PCH/cxx-templates.h +++ b/test/PCH/cxx-templates.h @@ -20,6 +20,16 @@ T templ_f(T x) { return x; } +void govl(int); +void govl(char); + +template <typename T> +struct Unresolv { + void f() { + govl(T()); + } +}; + template <typename T> struct Dep { typedef typename T::type Ty; |