1 // { dg-require-effective-target c++11 }
3 template <class,class> struct ST;
4 template <class T> struct ST<T,T> {};
12 template <class T> struct B
23 ST<decltype(a.f()), int>();
24 ST<decltype(A().f()), char>();
28 ST<decltype(b.f()), int>();
29 ST<decltype(B<int>().f()), char>();