[PR49366] emit loc exprs for C++ non-virtual pmf template value parms
[official-gcc.git] / gcc / testsuite / g++.dg / debug / dwarf2 / template-params-12.H
blob24c26e7c58a066bf76bd311ecd71bae8b79431f6
1 // Tests for the fix for PR debug/49366.
2 struct B {
3   void g();
4   virtual void v() = 0;
5   virtual void w();
6 };
7 void B::g() {}
8 void B::w() {}
9 struct S : B {
10   void f();
11   void v();
12   void u();
14 void S::f() {}
15 void S::v() {}
16 template <void (B::*MF)()> void t() {}
17 template <void (S::*MF)()> void t() {}