Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr89330_0.C

raw
1 // { dg-lto-do link }
2 // { dg-lto-options { { -O3 -g -flto -shared -fPIC -Wno-odr } } }
3 // { dg-require-effective-target fpic }
4 // { dg-require-effective-target shared }
5
6 namespace Inkscape {
7 class Anchored {};
8 namespace XML {
9 enum NodeType {};
10 class Node :Anchored {
11 public:
12 virtual NodeType type() ;
13 virtual char name() ;
14 virtual int code() ;
15 virtual unsigned position() ;
16 virtual unsigned childCount() ;
17 virtual char content() ;
18 virtual char *attribute() const ;
19 virtual int attributeList() ;
20 virtual bool matchAttributeName() ;
21 virtual void setPosition() ;
22 virtual void setContent() ;
23 virtual void setAttribute() ;
24 virtual int document() ;
25 virtual int document() const ;
26 virtual Node *root() ;
27 virtual Node *root() const ;
28 virtual Node *parent() ;
29 virtual Node *next() const ;
30 virtual Node *firstChild() const ;
31
32 };
33 } } struct rdf_license_t {
34 };
35 ;
36 class RDFImpl {
37 ;
38 rdf_license_t *getLicense();
39 };
40 static bool rdf_match_license(Inkscape::XML::Node const *repr) {
41 for (Inkscape::XML::Node *current = repr->firstChild(); current;
42 current->next()->attribute());
43 return 0;
44 }
45 rdf_license_t *RDFImpl::getLicense() {
46 Inkscape::XML::Node *repr ;
47 for (rdf_license_t *license ; license;
48 license) {
49 rdf_match_license(repr);
50 }
51 return 0;
52 }