1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/40684
3 // { dg-options "-std=c++0x" }
9 template <typename S, typename T, typename U, typename S::v = &S::v::s>
23 A b = foo (this, a, t); // { dg-error "no matching function" }