* g++.dg/eh/new1.C: XFAIL on AIX.
[official-gcc.git] / gcc / testsuite / g++.dg / eh / cleanup5.C
blobe74d06793ae498e45a6f26c0f7d3427711507c09
1 // PR 17907
2 // { dg-do compile }
3 // { dg-options "" }
4 // We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of A.
7 struct String {
8   ~String();
9   int size() const;
11 struct CodingSystem {
12   String convertOut() const;
14 void inputOpened(CodingSystem *outputCodingSystem)
16    char filePath[outputCodingSystem->convertOut().size()];