2 // { dg-options "-std=c++0x -fno-inline" }
4 template<typename> struct remove_reference;
5 template<typename T> struct remove_reference<T&> { typedef T type; };
7 template <class T> void f(T) { }
13 typedef remove_reference<decltype(*v)>::type at;
15 // The typedef should't assign the name "at" to the struct.
16 // { dg-final { scan-assembler "_Z1fIZ1gvEUt_EvT_" } }