Debian Codegraph @

gcc/testsuite/c-c++-common/dwarf2/pr113918.c

raw
1 /* PR debug/113918 */
2 /* { dg-do compile } */
3 /* { dg-options "-gdwarf-5 -dA -fno-merge-debug-strings" } */
4
5 struct S {
6 union {
7 int i;
8 long long j;
9 };
10 struct {
11 int k;
12 long long l;
13 };
14 union {
15 int m;
16 long long n;
17 } u;
18 struct {
19 int o;
20 long long p;
21 } v;
22 } s;
23
24 int
25 main ()
26 {
27 s.i = 1;
28 s.k = 2;
29 s.u.m = 3;
30 s.v.o = 4;
31 }
32
33 /* { dg-final { scan-assembler-times "DW_AT_export_symbols" 4 } } */