aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/FunctionAttrs/2010-10-30-volatile.ll
blob: 1a64a83938048833029365852a581a1a1f8d7f1c (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: opt < %s -functionattrs -S | FileCheck %s
; PR8279

@g = constant i32 1

define void @foo() {
; CHECK: void @foo() {
  %tmp = load volatile i32, i32* @g
  ret void
}