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