Debian Codegraph @

gcc/testsuite/g++.dg/debug/dwarf2/ref-1.C

raw
1 // { dg-do compile }
2 // { dg-options "-O -g -dA -gno-strict-dwarf" }
3 // { dg-final { scan-assembler-not "DW_TAG_const_type" } }
4
5 int x;
6 int &y = x;
7
8 typedef int &z_t;
9 z_t z = x;
10
11 void f(int &p) {}
12
13 struct foo {
14 int &bar;
15 typedef int &bart;
16 bart fool;
17 };
18
19 void f3(struct foo &p) {}