Debian Codegraph @

gcc/testsuite/g++.dg/pr98356.C

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