1 // { dg-options "-gdwarf-4 -gstrict-dwarf -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\]* \[^\n\]*DIE" 1 } }
4 #include "template-params-12.H"
5 /* We do NOT get a value or location for this one, because we've
6    enabled strict DWARF 4, and it could only be emitted as a location,
7    which is DWARF 5 only for template value params.  */
8 template void t<&S::f>();
9