2 // { dg-do compile { target c++11 } }
4 template < typename S > struct A
6 // { dg-error "" "" { target c++11_only } .+1 }
7 template < typename T > static auto f () { return 0; }
8 template < class U = decltype (f < S > ()) > int g () { return 0; }
11 auto a = A < int > {}.g ();