| 1 |
-- { dg-do compile } |
| 2 |
-- { dg-options "-O -gnatn -Winline -cargs --param max-inline-insns-single=50 -margs" } |
| 3 |
|
| 4 |
with Ada.Containers.Vectors; |
| 5 |
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; |
| 6 |
with Ada.Text_IO; |
| 7 |
|
| 8 |
procedure Warn32 is |
| 9 |
type Selected_Block_T is record |
| 10 |
Contents : Unbounded_String; |
| 11 |
File_Name : Unbounded_String; |
| 12 |
end record; |
| 13 |
|
| 14 |
pragma Warnings (Off, "-Winline"); |
| 15 |
package Selected_Block_List is |
| 16 |
new Ada.Containers.Vectors (Natural, Selected_Block_T); |
| 17 |
begin |
| 18 |
Ada.Text_Io.Put_Line ("Hello World!"); |
| 19 |
end; |