blob: 1a64a83938048833029365852a581a1a1f8d7f1c [file] [log] [blame]
Duncan Sandsb8f3b14d2010-10-30 12:59:44 +00001; RUN: opt < %s -functionattrs -S | FileCheck %s
2; PR8279
3
4@g = constant i32 1
5
6define void @foo() {
7; CHECK: void @foo() {
David Blaikiea79ac142015-02-27 21:17:42 +00008 %tmp = load volatile i32, i32* @g
Duncan Sandsb8f3b14d2010-10-30 12:59:44 +00009 ret void
10}