llvm.org GIT mirror llvm / 413c76f
Correct test. use "not grep" instead of "grep -v" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13824 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 ; This fails because the linker renames the non-opaque type not the opaque
11 ; one...
22
3 ; RUN: echo "%Ty = type opaque" | llvm-as > %t.1.bc
3 ; RUN: echo "%Ty = type opaque %GV = external global %Ty*" | llvm-as > %t.1.bc
44 ; RUN: llvm-as < %s > %t.2.bc
5 ; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%Ty ' | grep -v opaque
5 ; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%Ty ' | not grep opaque
66
77 %Ty = type int
88