Debian Codegraph @

gcc/testsuite/g++.dg/torture/pr40492.C

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