2 // Positive testcase for decls in conditions.
4 extern "C" int printf(const char *, ...);
12 T(int j) { i = j; printf("UP\n"); up++; }
13 T(const T& t) { i = t.i; printf("unwanted copy\n"); }
14 ~T() { printf ("DOWN\n"); down++; }
15 operator int () { return i; }
49 for (int k = 3; T t = k--;)
62 if (up == down && up == 18)