blob: 53e02089d2436638032cc9c064f1604ee81c5662 [file] [log] [blame]
Dan Gohman3e054fe2009-09-08 22:34:10 +00001; RUN: opt %s -functionattrs -S | grep readnone
Duncan Sands9a036b92008-09-03 12:55:42 +00002
3define i32 @a() {
4 %tmp = call i32 @b( ) ; <i32> [#uses=1]
5 ret i32 %tmp
6}
7
8define i32 @b() {
9 %tmp = call i32 @a( ) ; <i32> [#uses=1]
10 ret i32 %tmp
11}