blob: acea238593b480c898174331b2582e15a7d17cf2 (
plain)
1
2
3
4
5
6
7
8
9
|
// PR c++/98356
// { dg-do compile { target c++11 } }
template <template <typename> class T> struct S {
using A = T<int>;
using A::foo;
void foo ();
void bar () {foo.} // { dg-error "invalid use of member function" }
};
|