1 // Origin: PR debug/45171 2 // { dg-options "-g -dA -fno-eliminate-unused-debug-types -fno-debug-types-section" } 3 // { dg-do compile } 4 5 // There should be 2 real instances of byte_size -- one for the 6 // struct and one for "int". The other two instances are from 7 // the comments in the .debug_abbrev section. 8 // { dg-final { scan-assembler-times "DW_AT_byte_size" 4 } } 9 10 typedef struct { int a, b; } x; 11