aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb128.C
blob: d056e39012e9bbda0a2073c08b30c874fb61124e (plain)
1
2
3
4
5
6
7
8
9
10
11
template<class T>
struct A {
  typedef T* iterator; // ERROR - pointer to reference
public:
  A(){}
};

void f()
{
  A<int&> a; // ERROR - instantiated from here
}