mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-10 22:55:57 +00:00
51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
|
// RUN: %llvmgxx %s -emit-llvm -S -o - &&
|
||
|
// RUN: %llvmgxx %s -emit-llvm -S -o - | not grep 'gnu.linkonce.'
|
||
|
// PR1085
|
||
|
|
||
|
class
|
||
|
__attribute__((visibility("default"))) QGenericArgument
|
||
|
{
|
||
|
public:inline QGenericArgument(const char *aName = 0, const void *aData = 0):_data(aData), _name(aName) {
|
||
|
}
|
||
|
private:const void *_data;
|
||
|
const char *_name;
|
||
|
};
|
||
|
struct __attribute__ ((
|
||
|
visibility("default"))) QMetaObject
|
||
|
{
|
||
|
struct {
|
||
|
}
|
||
|
d;
|
||
|
};
|
||
|
class
|
||
|
__attribute__((visibility("default"))) QObject
|
||
|
{
|
||
|
virtual const QMetaObject *metaObject() const;
|
||
|
};
|
||
|
class
|
||
|
__attribute__((visibility("default"))) QPaintDevice
|
||
|
{
|
||
|
public:enum PaintDeviceMetric {
|
||
|
PdmWidth = 1, PdmHeight, PdmWidthMM, PdmHeightMM, PdmNumColors, PdmDepth, PdmDpiX, PdmDpiY, PdmPhysicalDpiX, PdmPhysicalDpiY
|
||
|
};
|
||
|
virtual ~ QPaintDevice();
|
||
|
union {
|
||
|
}
|
||
|
ct;
|
||
|
};
|
||
|
class
|
||
|
__attribute__((visibility("default"))) QWidget:public QObject, public QPaintDevice
|
||
|
{
|
||
|
};
|
||
|
class
|
||
|
__attribute__((visibility("default"))) QDialog:public QWidget
|
||
|
{
|
||
|
};
|
||
|
class TopicChooser:public QDialog {
|
||
|
virtual const QMetaObject *metaObject() const;
|
||
|
};
|
||
|
const QMetaObject *TopicChooser::
|
||
|
metaObject() const
|
||
|
{
|
||
|
}
|