Debian Codegraph @

gcc/testsuite/g++.dg/debug/dwarf2/typedef2.C

raw
1 // Origin: PR debug/43628
2 // { dg-options "-gdwarf-2 -dA -fno-debug-types-section" }
3 // { dg-do compile }
4
5 // { dg-final { scan-assembler-times "\[^\n\r\]*\\(DIE\[^\n\r\]*DW_TAG_formal_parameter\\)\[\n\r\]{1,2}\[^\n\r\]*DW_AT_type\[\n\r\]{1,2}" 1 } }
6 class C
7 {
8 public:
9 typedef void (*t) (C);
10 };
11 C::t f;