diff options
Diffstat (limited to 'gcc/testsuite/gnat.dg/pack18.adb')
-rw-r--r-- | gcc/testsuite/gnat.dg/pack18.adb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/pack18.adb b/gcc/testsuite/gnat.dg/pack18.adb new file mode 100644 index 00000000000..857a6f9787e --- /dev/null +++ b/gcc/testsuite/gnat.dg/pack18.adb @@ -0,0 +1,12 @@ +-- { dg-do run } + +with Pack18_Pkg; use Pack18_Pkg; + +procedure Pack18 is + use Pack18_Pkg.Attributes_Tables; + Table : Instance; +begin + Init (Table); + Set_Last (Table, 1); + Table.Table (Last (Table)).N := 0; +end; |