1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

tests: FileCheckize

llvm-svn: 125441
This commit is contained in:
Daniel Dunbar 2011-02-12 18:19:53 +00:00
parent d3124f22fd
commit 33aae18345

View File

@ -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]