gcc/testsuite/gcc.dg/debug/dwarf2/pr111080.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-gdwarf-3 -dA" } */ |
| 3 | |
| 4 | struct foo { |
| 5 | int field_number_1; |
| 6 | int field_number_2; |
| 7 | int field_number_3; |
| 8 | int field_number_4; |
| 9 | int field_number_5; |
| 10 | }; |
| 11 | |
| 12 | typedef int fun_t(struct foo *restrict); |
| 13 | |
| 14 | int main() { |
| 15 | return 0; |
| 16 | } |
| 17 | |
| 18 | /* { dg-final { scan-assembler-not "DW_TAG_structure_type" } } */ |