Merge from mainline (151362:151806)
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / debug / dwarf2 / template-params-7.C
blobd021d96f54f701d3009c5194b113ef9e01eab222
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin PR debug/30161
3 // { dg-options "-std=c++0x -g -dA -fno-merge-debug-strings" }
5 // The type M<> should have one DW_TAG_GNU_template_parameter_pack DIE,
6 // with no DW_AT_name attribute. We don't test the fact that it has no
7 // DW_AT_name though.
8 // { dg-final { scan-assembler-times "DIE \\(0x.*?\\) DW_TAG_GNU_template_parameter_pack" 1 } }
11 template <typename...>
12 struct M
16 struct R :
17     M<>
21 R r;