summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb9.C
blob: cec700220cbd48c50999d82e6064feef8db43c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Build don't link:
template <class Key>
class d0om_Hashmap
{
public:
  typedef int value_type;

  class iterator
  {
  public:
    value_type* operator-> () const;
  };

};


template <class Key>
d0om_Hashmap<Key>::value_type* d0om_Hashmap<Key>::iterator::operator-> () const
{
  return 0;
}