blob: 560e70b6dfb7a41b62f7f3c6ae5301563cfb6141 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template <typename T>
struct Handle
{
Handle(T& t);
};
template<class T>
struct Class {
struct Struct {} data;
void f();
void g();
};
template<class T>
void Class<T>::f() {
Handle< decltype((data)) > handle(data);
}
template<class T>
void Class<T>::g() {
Handle< decltype((data)) > handle(data);
}