Debian Codegraph @

gcc/testsuite/gcc.dg/debug/dwarf2/atomic.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-std=c11 -gdwarf-5 -dA" } */
3
4 struct Atomics
5 {
6 _Atomic(int) counter;
7 struct Pointer
8 {
9 _Atomic volatile char *p;
10 } p;
11 };
12
13 struct Atomics a;
14
15 /* { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) DW_TAG_atomic_type" 2 } } */