summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/controlled2.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/controlled2.adb')
-rw-r--r--gcc/testsuite/gnat.dg/controlled2.adb10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/controlled2.adb b/gcc/testsuite/gnat.dg/controlled2.adb
new file mode 100644
index 000000000..4fa61aff8
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/controlled2.adb
@@ -0,0 +1,10 @@
+-- { dg-do compile }
+
+with controlled1; use controlled1;
+package body controlled2 is
+ procedure Test_Suite is
+ begin
+ Add_Test
+ (new Test_Case'(Test_Case1 with Link_Under_Test => 300));
+ end Test_Suite;
+end controlled2;