Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git] / test / Transforms / FunctionAttrs / 2008-09-03-ReadOnly.ll
blobb455fdd8c3ec0c162a366f7472da74afb28909cb
1 ; RUN: opt < %s -functionattrs -S | grep readonly | count 2
3 define i32 @f() {
4 entry:
5         %tmp = call i32 @e( )           ; <i32> [#uses=1]
6         ret i32 %tmp
9 declare i32 @e() readonly