1// { dg-do compile }
2class A {
3public:
4  A();
5  A(int *);
6};
7class B {};
8class C : B {
9public:
10  virtual void m_fn1();
11  void operator+=(int) { m_fn1(); }
12};
13enum DebuggerType {};
14C a;
15DebuggerType b;
16void operator==(A &, const A &);
17static A get_dbx_doc(A &p1) { p1 == 0; }
18
19void add_button() {
20  A c;
21  switch (b)
22  case 0:
23  get_dbx_doc(c);
24  a += 0;
25}
26