mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-28 07:05:11 +00:00
53910d9993
than -c. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120157 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
448 B
Ada
13 lines
448 B
Ada
-- RUN: %llvmgcc -S %s
|
|
procedure Placeholder is
|
|
subtype Bounded is Integer range 1 .. 5;
|
|
type Vector is array (Bounded range <>) of Integer;
|
|
type Interval (Length : Bounded := 1) is record
|
|
Points : Vector (1 .. Length);
|
|
end record;
|
|
An_Interval : Interval := (Length => 1, Points => (1 => 1));
|
|
generic The_Interval : Interval; package R is end;
|
|
package body R is end;
|
|
package S is new R (An_Interval);
|
|
begin null; end;
|