llvm-6502/test/Analysis/GlobalsModRef/2008-09-03-ReadNone.ll

10 lines
204 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | opt -globalsmodref-aa -markmodref | llvm-dis | grep readnone | count 2
define i32 @f() {
entry:
%tmp = call i32 @e( ) ; <i32> [#uses=1]
ret i32 %tmp
}
declare i32 @e() readnone