blob: f21fabc493c73f9c35d3615065976d1868dad07e [file] [log] [blame]
; RUN: opt < %s -functionattrs -S | FileCheck %s
; PR8279
@g = constant i32 1
define void @foo() {
; CHECK: void @foo() {
%tmp = volatile load i32* @g
ret void
}