1 // { dg-options "-gdwarf-2 -dA" } 2 // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_template_value_param" 1 } } 3 // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_template_value_param\[^\n\]*\n\[^\n\]* DW_AT_name\n\[^\n\]* DW_AT_type\n\[^\n\]* DW_AT_const_value" 1 } } 4 #include "template-params-12.H" 5 /* We get const_value for pointers to virtual member functions. */ 6 template void t<&S::v>(); 7