fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git] / test / Transforms / FunctionAttrs / 2008-09-03-Mutual.ll
blobb0aecfa56f74ec0844a28c851a2c42036004e8e8
1 ; RUN: opt < %s -functionattrs -S | grep readnone
3 define i32 @a() {
4         %tmp = call i32 @b( )           ; <i32> [#uses=1]
5         ret i32 %tmp
8 define i32 @b() {
9         %tmp = call i32 @a( )           ; <i32> [#uses=1]
10         ret i32 %tmp