2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wreturn-type" }
5 template < class T > struct Container
12 {} // { dg-warning "no return" }
14 template < class T, class ... Args >
15 auto deref (T u, int, Args ... args)->decltype (deref (u.f (), args ...))
16 {} // { dg-warning "no return" }
21 Container < Container < int > > v;