c: Fix for some variably modified types not being recognized [PR114831]
[official-gcc.git] / gcc / testsuite / gnat.dg / debug12.adb
blobfa34c0aae228783d2e08582399e64050bf103ec3
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 } }
6 package body Debug12 is
7 function Get_A2 return Boolean is
8 begin
9 return A2;
10 end Get_A2;
11 end Debug12;