1-- { dg-do compile } 2-- { dg-skip-if "No Dwarf" { { hppa*-*-hpux* } && { ! lp64 } } } 3-- { dg-options "-cargs -gdwarf-4 -fdebug-types-section -dA -margs" } 4-- { dg-final { scan-assembler-times "DW_AT_location" 4 } } 5 6package body Debug12 is 7 function Get_A2 return Boolean is 8 begin 9 return A2; 10 end Get_A2; 11end Debug12; 12