2 // { dg-do compile { target c++11 } }
3 // { dg-options "-fno-inline" }
5 template<typename> struct remove_reference;
6 template<typename T> struct remove_reference<T&> { typedef T type; };
8 template <class T> void f(T) { }
14 typedef remove_reference<decltype(*v)>::type at;
16 // The typedef should't assign the name "at" to the struct.
17 // { dg-final { scan-assembler "_Z1fIZ1gvEUt_EvT_" } }