YouCompleteMe/cpp/llvm/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll
2012-07-05 17:51:06 -07:00

9 lines
176 B
LLVM

; RUN: opt < %s -basicaa -functionattrs -S | grep readnone
@s = external constant i8 ; <i8*> [#uses=1]
define i8 @f() {
%tmp = load i8* @s ; <i8> [#uses=1]
ret i8 %tmp
}