2015-05-04 Andrew Sutton <andrew.n.sutton@gmail.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / str1.adb
blob833d0f1d1c293ee0768ba29c0a74be02327c96af
1 -- { dg-do compile }
3 procedure str1 is
4 Str : constant string := "--";
5 generic
6 package Gen is
7 procedure P;
8 end Gen;
9 package body Gen is
10 procedure P is
11 inner : String := Str;
12 begin
13 null;
14 end;
15 end Gen;
17 package Inst is new Gen;
18 begin
19 null;
20 end;