1 // RUN: %llvmgxx %s -S -o - | not grep gnu.linkonce.
2 // PR1085
3
4 class
5 __attribute__((visibility("default"))) QGenericArgument
6 {
QGenericArgument(const char * aName=0,const void * aData=0)7 public:inline QGenericArgument(const char *aName = 0, const void *aData = 0):_data(aData), _name(aName) {
8 }
9 private:const void *_data;
10 const char *_name;
11 };
12 struct __attribute__ ((
13 visibility("default"))) QMetaObject
14 {
15 struct {
16 }
17 d;
18 };
19 class
20 __attribute__((visibility("default"))) QObject
21 {
22 virtual const QMetaObject *metaObject() const;
23 };
24 class
25 __attribute__((visibility("default"))) QPaintDevice
26 {
27 public:enum PaintDeviceMetric {
28 PdmWidth = 1, PdmHeight, PdmWidthMM, PdmHeightMM, PdmNumColors, PdmDepth, PdmDpiX, PdmDpiY, PdmPhysicalDpiX, PdmPhysicalDpiY
29 };
30 virtual ~ QPaintDevice();
31 union {
32 }
33 ct;
34 };
35 class
36 __attribute__((visibility("default"))) QWidget:public QObject, public QPaintDevice
37 {
38 };
39 class
40 __attribute__((visibility("default"))) QDialog:public QWidget
41 {
42 };
43 class TopicChooser:public QDialog {
44 virtual const QMetaObject *metaObject() const;
45 };
46 const QMetaObject *TopicChooser::
metaObject() const47 metaObject() const
48 {
49 }
50