PR target/84336
[official-gcc.git] / gcc / testsuite / gnat.dg / type_conv.adb
blob82a01495e12fa35eb6d13544cbe55d17eb0e3b3e
1 -- { dg-do compile }
3 procedure type_conv is
4 type Str is new String;
5 generic
6 package G is private end;
7 package body G is
8 Name : constant String := "it";
9 Full_Name : Str := Str (Name & " works");
10 end G;
11 package Inst is new G;
12 begin
13 null;
14 end;