1 ; RUN: opt < %s -functionattrs -S | not grep read 2 ; PR2792 3 4 @g = global i32 0 ; <i32*> [#uses=1] 5 6 define i32 @f() { 7 %t = volatile load i32* @g ; <i32> [#uses=1] 8 ret i32 %t 9 } 10