Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.mike / p5469.C
blob8c82c7e3dac4fb8a20d9916de1287d1b0fc581f7
1 // { dg-do run  }
2 // prms-id: 5469
4 int count;
6 class A {
7   A();
8   A(const A&);
9 public:
10   A(int) { ++count; }
11   ~A() { --count; }
12   int operator== (const A& r) { return 0; }
15 int main() {
16   {
17     A a (1);
18     if (a == 2 && a == 1)
19       ;
20   }
21   return count;