gcc/testsuite/g++.dg/debug/dwarf2/template-params-12u.C
raw| 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\]* \[^\n\]*DIE" 1 } } |
| 4 | #include "template-params-12.H" |
| 5 | /* We do NOT get a value or location for this one, because it would |
| 6 | require a relocation to an undefined symbol in a debug section. */ |
| 7 | template void t<&S::u>(); |