llvm-mirror/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll
Dan Gohman 205b641954 Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.

llvm-svn: 81537
2009-09-11 18:01:28 +00:00

8 lines
151 B
LLVM

; RUN: opt < %s -functionattrs -S | not grep read
; PR3754
define i8* @m(i32 %size) {
%tmp = malloc i8, i32 %size ; <i8*> [#uses=1]
ret i8* %tmp
}