URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20101015-1_0.C] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-lto-do assemble }
class DOMString { };
class DocumentImpl;
class NodeImpl {
public:
static const DOMString&
mapPrefix(const DOMString &prefix, const DOMString &namespaceURI, short nType);
static DOMString getXmlnsURIString();
};
class DOM_Node {
public:
enum NodeType { ATTRIBUTE_NODE = 2 };
};
class AttrImpl: public NodeImpl {
public:
AttrImpl(DocumentImpl *ownerDocument, const DOMString &aName);
};
class AttrNSImpl: public AttrImpl {
AttrNSImpl(DocumentImpl *ownerDoc, const DOMString &namespaceURI, const DOMString &qualifiedName);
};
AttrNSImpl::AttrNSImpl(DocumentImpl *ownerDoc,
const DOMString &fNamespaceURI,
const DOMString &qualifiedName)
: AttrImpl(ownerDoc, qualifiedName)
{
DOMString xmlnsURI = NodeImpl::getXmlnsURIString();
DOMString prefix;
bool xmlnsAlone = false;
const DOMString& URI = xmlnsAlone ? xmlnsURI : mapPrefix(prefix, fNamespaceURI, DOM_Node::ATTRIBUTE_NODE);
}
Go to most recent revision | Compare with Previous | Blame | View Log