OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr42714.C] - Rev 749

Go to most recent revision | Compare with Previous | Blame | View Log

struct QVectorData {
    static QVectorData shared_null;
};
template <typename T> class QVector {
    union {
        QVectorData *d;
    };
public:
    inline QVector() : d(&QVectorData::shared_null) { }
    inline QVector(const QVector<T> &v) : d(v.d) { }
};
class QXmlStreamAttribute { };
class QXmlStreamAttributes : public QVector<QXmlStreamAttribute> { };
class __attribute__ ((visibility("default"))) Smoke {
public:
    union StackItem;
    typedef StackItem* Stack;
    typedef short Index;
};
class SmokeBinding { };
namespace __smokeqt {
    class x_QXmlStreamAttributes : public QXmlStreamAttributes {
        SmokeBinding* _binding;
    public:
        static void x_11(Smoke::Stack x) {
            x_QXmlStreamAttributes* xret = new x_QXmlStreamAttributes();
        }
        explicit x_QXmlStreamAttributes() : QXmlStreamAttributes() { }
    };
    void xcall_QXmlStreamAttributes(Smoke::Index xi, void *obj,
                                    Smoke::Stack args)
      {
        switch(xi) {
            case 11: x_QXmlStreamAttributes::x_11(args);
        }
      }
}

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.