Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/auto-96647.C

raw
1 // PR c++/96647
2 // { dg-do compile { target c++14 } }
3
4 template<typename>
5 struct Base {
6 auto f(int) { }
7 auto f(char) { }
8 };
9
10 void (Base<void>::*ptr)(int) = &Base<void>::f;