Add support file for controlled2.adb
authorArnaud Charlet <charlet@gcc.gnu.org>
Sat, 8 Sep 2007 08:21:05 +0000 (10:21 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Sat, 8 Sep 2007 08:21:05 +0000 (10:21 +0200)
From-SVN: r128264

gcc/testsuite/gnat.dg/controlled1.ads [new file with mode: 0644]

diff --git a/gcc/testsuite/gnat.dg/controlled1.ads b/gcc/testsuite/gnat.dg/controlled1.ads
new file mode 100644 (file)
index 0000000..cca8aa7
--- /dev/null
@@ -0,0 +1,13 @@
+
+with Ada.Finalization; use Ada.Finalization;
+package controlled1 is
+   type Test is new Controlled with null record;
+   procedure Add_Test (T : access Test'Class);
+   
+   type Test_Case1 is new Test with null record;
+   type Test_Suite is new Test with null record;
+   
+   type Test_Case is new Test_Case1 with record
+      Link_Under_Test : Natural;
+   end record;
+end;