summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr40492.C
blob: cab9426d010d03dfb98f8a57373d87c10818dc1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
typedef unsigned short ushort;
class QChar {
public:
    QChar( const QChar& c );
    ushort ucs;
};
inline QChar::QChar( const QChar& c ) : ucs( c.ucs ) { };
class QString { };
class KoAutoFormat {
public:
    struct TypographicQuotes     { QChar begin, end; };
    TypographicQuotes getConfigTypographicDoubleQuotes() const     {
        return m_typographicDoubleQuotes;
    }
    TypographicQuotes m_typographicDoubleQuotes;
};
class KoAutoFormatDia {
    QChar oDoubleBegin, oDoubleEnd;
    KoAutoFormat * m_docAutoFormat;
    bool noSignal;
    void changeAutoformatLanguage(void);
};
void KoAutoFormatDia::changeAutoformatLanguage(void)
{
  oDoubleEnd= m_docAutoFormat->getConfigTypographicDoubleQuotes().end;
}