commit | d83d04041f64a2c89123d227fa8003b482391279 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sat Aug 22 00:34:47 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sat Aug 22 00:34:47 2009 +0000 |
tree | cff3c814385b448dfc048774b1ba787dfd188f0b | |
parent | c141086bff9c2809aa46efdc5ce66756430f3470 [diff] [blame] |
Implement delayed parsing for member function templates. Fixes PR4608. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79709 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaTemplate/member-function-template.cpp b/test/SemaTemplate/member-function-template.cpp index 217a67a..91eb53b 100644 --- a/test/SemaTemplate/member-function-template.cpp +++ b/test/SemaTemplate/member-function-template.cpp
@@ -39,3 +39,6 @@ float& (X::*pm2)(float) = &X::f1; int& (X::*pm3)(float, int) = &X::f1; } + +// PR4608 +class A { template <class x> x a(x z) { return z+y; } int y; };