new tests, derived from cosmics scheme output

llvm-svn: 25111
This commit is contained in:
Chris Lattner 2006-01-05 07:46:46 +00:00
parent 0f7e9f5180
commit b844284a05
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,7 @@
; This test checks to make sure that constant exprs fold in some simple situations
; RUN: llvm-as < %s | llvm-dis | not grep '('
; RUN: llvm-as < %s | llvm-dis | not grep '(' &&
; RUN: llvm-as < %s
%A = global long 0
@ -23,3 +24,6 @@ global bool setlt (int* getelementptr (%Ty* %B, long 0, ubyte 0),
int* getelementptr (%Ty* %B, long 0, ubyte 1)) ; true
;global bool setne (long* %A, long* cast (%Ty* %B to long*)) ; true
global bool seteq ({ short }* cast (int 1 to { short }*), { short }* null)
global bool setlt ({ short }* cast (int 1 to { short }*), { short }* cast (int 2 to { short }*))