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
|
||||
A : array (Integer range <>) of Boolean := (True, False);
|
||||
begin
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
procedure Array_Range_Ref is
|
||||
A : String (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
|
||||
type A is array (Natural range <>, Natural range <>) of Boolean;
|
||||
type A_Access is access A;
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
procedure Array_Size is
|
||||
subtype S is String (1 .. 2);
|
||||
type R is record
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
with System.Machine_Code;
|
||||
procedure Asm is
|
||||
begin
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c -g %s
|
||||
-- RUN: %llvmgcc -S -g %s
|
||||
package Debug_Var_Size is
|
||||
subtype Length_Type is Positive range 1 .. 64;
|
||||
type T (Length : Length_Type := 1) is record
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
with Ada.Finalization;
|
||||
package Emit_Var is
|
||||
type Search_Type is new Ada.Finalization.Controlled with null record;
|
||||
|
@ -1,5 +1,5 @@
|
||||
-- RUN: %llvmgcc -c %s -I%p/Support
|
||||
-- RUN: %llvmgcc -c %s -I%p/Support -O2
|
||||
-- RUN: %llvmgcc -S %s -I%p/Support
|
||||
-- RUN: %llvmgcc -S %s -I%p/Support -O2
|
||||
package body Fat_Fields is
|
||||
procedure Proc is
|
||||
begin
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
package Field_Order is
|
||||
type Tagged_Type is abstract tagged null 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
|
||||
begin
|
||||
raise An_Error;
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
package Init_Size is
|
||||
type T (B : Boolean := False) is record
|
||||
case B is
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
with System;
|
||||
procedure Negative_Field_Offset (N : Integer) is
|
||||
type String_Pointer is access String;
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
package Non_Bitfield is
|
||||
type SP is access String;
|
||||
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
|
||||
function A (Y : U) return String is
|
||||
begin
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
procedure Placeholder is
|
||||
subtype Bounded is Integer range 1 .. 5;
|
||||
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
|
||||
begin
|
||||
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
|
||||
procedure P (X : A) is
|
||||
begin
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s -I%p/Support
|
||||
-- RUN: %llvmgcc -S %s -I%p/Support
|
||||
package body Var_Offset is
|
||||
function F (X : T) return Character is
|
||||
begin
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s -I%p/Support
|
||||
-- RUN: %llvmgcc -S %s -I%p/Support
|
||||
package body Var_Size is
|
||||
function A (X : T) return String is
|
||||
begin
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
procedure VCE is
|
||||
S : String (1 .. 2);
|
||||
B : Character := 'B';
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- RUN: %llvmgcc -c %s
|
||||
-- RUN: %llvmgcc -S %s
|
||||
procedure VCE_LV is
|
||||
type P is access String ;
|
||||
type T is new P (5 .. 7);
|
||||
|
Loading…
Reference in New Issue
Block a user