blob: dce279ed43e5bf2c78da258d0888d19b3df8d59c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { 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" } }
|