mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
Dragonegg cannot output bitcode, only human readable IR, so use -S rather
than -c. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
48f296dada
commit
53910d9993
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
procedure Array_Constructor is
|
procedure Array_Constructor is
|
||||||
A : array (Integer range <>) of Boolean := (True, False);
|
A : array (Integer range <>) of Boolean := (True, False);
|
||||||
begin
|
begin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
procedure Array_Range_Ref is
|
procedure Array_Range_Ref is
|
||||||
A : String (1 .. 3);
|
A : String (1 .. 3);
|
||||||
B : String := A (A'RANGE)(1 .. 3);
|
B : String := A (A'RANGE)(1 .. 3);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
procedure Array_Ref is
|
procedure Array_Ref is
|
||||||
type A is array (Natural range <>, Natural range <>) of Boolean;
|
type A is array (Natural range <>, Natural range <>) of Boolean;
|
||||||
type A_Access is access A;
|
type A_Access is access A;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
procedure Array_Size is
|
procedure Array_Size is
|
||||||
subtype S is String (1 .. 2);
|
subtype S is String (1 .. 2);
|
||||||
type R is record
|
type R is record
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
with System.Machine_Code;
|
with System.Machine_Code;
|
||||||
procedure Asm is
|
procedure Asm is
|
||||||
begin
|
begin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c -g %s
|
-- RUN: %llvmgcc -S -g %s
|
||||||
package Debug_Var_Size is
|
package Debug_Var_Size is
|
||||||
subtype Length_Type is Positive range 1 .. 64;
|
subtype Length_Type is Positive range 1 .. 64;
|
||||||
type T (Length : Length_Type := 1) is record
|
type T (Length : Length_Type := 1) is record
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
with Ada.Finalization;
|
with Ada.Finalization;
|
||||||
package Emit_Var is
|
package Emit_Var is
|
||||||
type Search_Type is new Ada.Finalization.Controlled with null record;
|
type Search_Type is new Ada.Finalization.Controlled with null record;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
-- RUN: %llvmgcc -c %s -I%p/Support
|
-- RUN: %llvmgcc -S %s -I%p/Support
|
||||||
-- RUN: %llvmgcc -c %s -I%p/Support -O2
|
-- RUN: %llvmgcc -S %s -I%p/Support -O2
|
||||||
package body Fat_Fields is
|
package body Fat_Fields is
|
||||||
procedure Proc is
|
procedure Proc is
|
||||||
begin
|
begin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
package Field_Order is
|
package Field_Order is
|
||||||
type Tagged_Type is abstract tagged null record;
|
type Tagged_Type is abstract tagged null record;
|
||||||
type With_Discriminant (L : Positive) is new Tagged_Type with record
|
type With_Discriminant (L : Positive) is new Tagged_Type with record
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s -I%p/Support
|
-- RUN: %llvmgcc -S %s -I%p/Support
|
||||||
package body Global_Constant is
|
package body Global_Constant is
|
||||||
begin
|
begin
|
||||||
raise An_Error;
|
raise An_Error;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
package Init_Size is
|
package Init_Size is
|
||||||
type T (B : Boolean := False) is record
|
type T (B : Boolean := False) is record
|
||||||
case B is
|
case B is
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
with System;
|
with System;
|
||||||
procedure Negative_Field_Offset (N : Integer) is
|
procedure Negative_Field_Offset (N : Integer) is
|
||||||
type String_Pointer is access String;
|
type String_Pointer is access String;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
package Non_Bitfield is
|
package Non_Bitfield is
|
||||||
type SP is access String;
|
type SP is access String;
|
||||||
type E is (A, B, C);
|
type E is (A, B, C);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s -I%p/Support
|
-- RUN: %llvmgcc -S %s -I%p/Support
|
||||||
package body Non_LValue is
|
package body Non_LValue is
|
||||||
function A (Y : U) return String is
|
function A (Y : U) return String is
|
||||||
begin
|
begin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
procedure Placeholder is
|
procedure Placeholder is
|
||||||
subtype Bounded is Integer range 1 .. 5;
|
subtype Bounded is Integer range 1 .. 5;
|
||||||
type Vector is array (Bounded range <>) of Integer;
|
type Vector is array (Bounded range <>) of Integer;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
function Switch (N : Integer) return Integer is
|
function Switch (N : Integer) return Integer is
|
||||||
begin
|
begin
|
||||||
case N is
|
case N is
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s -I%p/Support
|
-- RUN: %llvmgcc -S %s -I%p/Support
|
||||||
package body Unc_Constructor is
|
package body Unc_Constructor is
|
||||||
procedure P (X : A) is
|
procedure P (X : A) is
|
||||||
begin
|
begin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s -I%p/Support
|
-- RUN: %llvmgcc -S %s -I%p/Support
|
||||||
package body Var_Offset is
|
package body Var_Offset is
|
||||||
function F (X : T) return Character is
|
function F (X : T) return Character is
|
||||||
begin
|
begin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s -I%p/Support
|
-- RUN: %llvmgcc -S %s -I%p/Support
|
||||||
package body Var_Size is
|
package body Var_Size is
|
||||||
function A (X : T) return String is
|
function A (X : T) return String is
|
||||||
begin
|
begin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
procedure VCE is
|
procedure VCE is
|
||||||
S : String (1 .. 2);
|
S : String (1 .. 2);
|
||||||
B : Character := 'B';
|
B : Character := 'B';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- RUN: %llvmgcc -c %s
|
-- RUN: %llvmgcc -S %s
|
||||||
procedure VCE_LV is
|
procedure VCE_LV is
|
||||||
type P is access String ;
|
type P is access String ;
|
||||||
type T is new P (5 .. 7);
|
type T is new P (5 .. 7);
|
||||||
|
Loading…
Reference in New Issue
Block a user