diff options
Diffstat (limited to 'gcc/testsuite/gnat.dg/tf_interface_1.adb')
-rw-r--r-- | gcc/testsuite/gnat.dg/tf_interface_1.adb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/tf_interface_1.adb b/gcc/testsuite/gnat.dg/tf_interface_1.adb new file mode 100644 index 000000000..352e7e4a8 --- /dev/null +++ b/gcc/testsuite/gnat.dg/tf_interface_1.adb @@ -0,0 +1,8 @@ +-- { dg-do compile } +package body TF_Interface_1 is + procedure Get_It (Handle : Stream_Access; It : out CF_Interface_1'class) + is + begin + CF_Interface_1'Class'Read (Handle, It); + end; +end; |