blob: e85a3ef1d0d4d823626ecfb4d32cb2e1e808255e [file] [log] [blame]
Dan Gohman5bb7c7c2009-09-08 22:34:10 +00001; RUN: opt %s -functionattrs -S | grep readnone
Duncan Sandsb00686a2008-12-29 11:34:09 +00002
3@s = external constant i8 ; <i8*> [#uses=1]
4
5define i8 @f() {
6 %tmp = load i8* @s ; <i8> [#uses=1]
7 ret i8 %tmp
8}