2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / init / cleanup1.C
blob517af15c673df4acda581c77c9a9f946a1b6886c
1 // PR c++/13033
3 // We failed to treat the for increment expression as a full-expression,
4 // which broke gimplification.
6 struct QDomNode {
7   virtual ~QDomNode();
8   QDomNode nextSibling() const;
9   bool isNull() const;
12 void processNode(QDomNode n)
14   for (; !n.isNull(); n = n.nextSibling())
15     ;