FileCheck-ize the tests.
[oota-llvm.git] / test / Transforms / FunctionAttrs / 2008-09-03-ReadOnly.ll
1 ; RUN: opt < %s -basicaa -functionattrs -S | FileCheck %s
2
3 ; CHECK: define i32 @f() readonly
4 define i32 @f() {
5 entry:
6   %tmp = call i32 @e( )
7   ret i32 %tmp
8 }
9
10 ; CHECK: declare i32 @e() readonly
11 declare i32 @e() readonly