OSDN Git Service

Add support file for controlled2.adb
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Sep 2007 08:21:05 +0000 (08:21 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Sep 2007 08:21:05 +0000 (08:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128264 138bc75d-0d04-0410-961f-82ee72b054a4

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;