summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/bip_prim_func.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/bip_prim_func.ads')
-rw-r--r--gcc/testsuite/gnat.dg/bip_prim_func.ads11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/bip_prim_func.ads b/gcc/testsuite/gnat.dg/bip_prim_func.ads
new file mode 100644
index 000000000..37f7ac0fd
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/bip_prim_func.ads
@@ -0,0 +1,11 @@
+
+package BIP_Prim_Func is
+ pragma Elaborate_Body;
+
+ type TT is abstract tagged limited record
+ I : Integer;
+ end record;
+
+ function Prim_Func return TT is abstract;
+
+end BIP_Prim_Func;