gcc/testsuite/g++.dg/debug/dwarf2/template-params-12.H
raw| 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(); |
| 13 | }; |
| 14 | void S::f() {} |
| 15 | void S::v() {} |
| 16 | template <void (B::*MF)()> void t() {} |
| 17 | template <void (S::*MF)()> void t() {} |