summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/ns16.C
blob: 5860dcb0a8b75502875edc15829ef6457605ac0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }

class Y {
public:
  void operator +(int) const;
};

namespace X {
  extern Y const& z;
}

void f(void) {
  X::z + 1;
}