1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// PR c++/13971 struct QChar { static const QChar null; }; struct QCharRef { operator QChar() const; }; struct QString { QCharRef operator[](int i); }; QChar fillParagraph(QString s, int psi) { return psi ? QChar::null : s[psi]; }