diff options
Diffstat (limited to 'gcc/testsuite/gnat.dg/opt13_pkg.ads')
-rw-r--r-- | gcc/testsuite/gnat.dg/opt13_pkg.ads | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/opt13_pkg.ads b/gcc/testsuite/gnat.dg/opt13_pkg.ads new file mode 100644 index 000000000..f52f782f4 --- /dev/null +++ b/gcc/testsuite/gnat.dg/opt13_pkg.ads @@ -0,0 +1,15 @@ +package Opt13_Pkg is + + N : Natural := 0; + + type My_Type is private; + + procedure Allocate (T : out My_Type); + +private + + type Data; + + type My_Type is access Data; + +end Opt13_Pkg; |