From: Jason Merrill Date: Fri, 15 Jun 2001 11:45:27 +0000 (-0400) Subject: add missing function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50622d8b6c345c1ef09bf81b79fa6ddfa129f62d;p=gcc.git add missing function From-SVN: r43397 --- diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ptrmem2.C b/gcc/testsuite/g++.old-deja/g++.pt/ptrmem2.C index c6927d19472..1f254e93c31 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/ptrmem2.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/ptrmem2.C @@ -31,6 +31,11 @@ S* S::g() return this; } +S* S::h() +{ + return this; +} + int main() { S s;