Debian Codegraph @

gcc/testsuite/g++.dg/inherit/ptrmem3.C

raw
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 27 May 2005 <[email protected]>
3
4 // Origin:Andrew Pinski [email protected]
5 // PR 21455 bogus error with pointer to member of incomplete
6
7 class XMLFile;
8
9 typedef bool (XMLFile::*ParserFunctionPtr)();
10
11 struct ParserElement
12 {
13 ParserFunctionPtr getPreFunc() const { return preFunc; }
14 ParserFunctionPtr getPostFunc() const { return postFunc; }
15 ParserFunctionPtr preFunc;
16 ParserFunctionPtr postFunc;
17 };