URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [static-data-member1.C] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// { dg-options "-g -dA -fno-merge-debug-strings" }
struct A
{
static int staticdatamember;
};
int A::staticdatamember = 6;
// { dg-final { scan-assembler "DW_TAG_member\[^\n\r\]*\[\n\r\]*\[^\n\r\]*staticdatamember\[^\n\r\]*DW_AT_name" } }
// { dg-final { scan-assembler "DW_TAG_variable\[^\n\r\]*\[\n\r\]*\[^\n\r\]*DW_AT_specification" } }
Go to most recent revision | Compare with Previous | Blame | View Log