Add the missing g++.dg/torture/pr40492.C.
From-SVN: r148796
This commit is contained in:
parent
8e6e7620b3
commit
3f53cdbe67
26
gcc/testsuite/g++.dg/torture/pr40492.C
Normal file
26
gcc/testsuite/g++.dg/torture/pr40492.C
Normal file
@ -0,0 +1,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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user