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

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

};


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