mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
tests: FileCheckize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125441 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e3066b319
commit
43186a4ea9
@ -1,6 +1,8 @@
|
||||
; RUN: opt < %s -simplify-libcalls -S | grep putchar
|
||||
; RUN: opt < %s -simplify-libcalls -S | \
|
||||
; RUN: not grep {call.*printf}
|
||||
; RUN: opt < %s -simplify-libcalls -S -o %t
|
||||
; RUN: FileCheck < %t %s
|
||||
|
||||
; CHECK-NOT: call{{.*}}printf
|
||||
; CHECK: putchar
|
||||
|
||||
@str = internal constant [13 x i8] c"hello world\0A\00" ; <[13 x i8]*> [#uses=1]
|
||||
@str1 = internal constant [2 x i8] c"h\00" ; <[2 x i8]*> [#uses=1]
|
||||
|
Loading…
Reference in New Issue
Block a user