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

void f()
{
  A<int&> a;
}