summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/renaming1.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/renaming1.adb')
-rw-r--r--gcc/testsuite/gnat.dg/renaming1.adb13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/renaming1.adb b/gcc/testsuite/gnat.dg/renaming1.adb
new file mode 100644
index 000000000..d033c9abc
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/renaming1.adb
@@ -0,0 +1,13 @@
+-- { dg-do compile}
+-- { dg-options "-gnatwa" }
+
+with Text_IO;
+use Text_IO;
+package body renaming1 is
+ procedure Fo (A : Text_IO.File_Access) is
+ begin
+ if A = Text_IO.Standard_Output then
+ null;
+ end if;
+ end Fo;
+end;