// prms-id: 5469

int count;

class A {
  A();
  A(const A&);
public:
  A(int) { ++count; }
  ~A() { --count; }
  int operator== (const A& r) { return 0; }
};

main() {
  {
    A a (1);
    if (a == 2 && a == 1)
      ;
  }
  return count;
}
