blob: d056e39012e9bbda0a2073c08b30c874fb61124e [file] [log] [blame]
template<class T>
struct A {
typedef T* iterator; // ERROR - pointer to reference
public:
A(){}
};
void f()
{
A<int&> a; // ERROR - instantiated from here
}