diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gnat.dg/limited_with3.ads')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gnat.dg/limited_with3.ads | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gnat.dg/limited_with3.ads b/gcc-4.9/gcc/testsuite/gnat.dg/limited_with3.ads new file mode 100644 index 000000000..c348d9044 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gnat.dg/limited_with3.ads @@ -0,0 +1,17 @@ +with Limited_With3_Pkg1; +with Limited_With3_Pkg2; +limited with Limited_With3_Pkg3; + +package Limited_With3 is + + procedure Dummy; + + type T is tagged private; + +private + + package My_Q is new Limited_With3_Pkg1 (Limited_With3_Pkg2.T); + + type T is tagged null record; + +end Limited_With3; |