summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/limited_with.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/limited_with.adb')
-rw-r--r--gcc/testsuite/gnat.dg/limited_with.adb9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/limited_with.adb b/gcc/testsuite/gnat.dg/limited_with.adb
new file mode 100644
index 000000000..f2211f193
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/limited_with.adb
@@ -0,0 +1,9 @@
+-- { dg-do compile }
+
+with Pack1;
+package body limited_with is
+ procedure Print_2 (Obj : access Pack1.Nested.Rec_Typ) is
+ begin
+ null;
+ end;
+end limited_with;