blob: 517af15c673df4acda581c77c9a9f946a1b6886c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// PR c++/13033
// We failed to treat the for increment expression as a full-expression,
// which broke gimplification.
struct QDomNode {
virtual ~QDomNode();
QDomNode nextSibling() const;
bool isNull() const;
};
void processNode(QDomNode n)
{
for (; !n.isNull(); n = n.nextSibling())
;
}
|