OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [template-params-7.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Contributed by Dodji Seketeli 
2
// Origin PR debug/30161
3
// { dg-options "-std=c++0x -g -dA -fno-merge-debug-strings" }
4
 
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\[^\n\]*\\) DW_TAG_GNU_template_parameter_pack" 1 } }
9
 
10
 
11
template 
12
struct M
13
{
14
};
15
 
16
struct R :
17
    M<>
18
{
19
};
20
 
21
R r;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.