manually upgrade a bunch of tests to modern syntax, and remove some that
[oota-llvm.git] / test / Transforms / FunctionAttrs / 2010-10-30-volatile.ll
1 ; RUN: opt < %s -functionattrs -S | FileCheck %s
2 ; PR8279
3
4 @g = constant i32 1
5
6 define void @foo() {
7 ; CHECK: void @foo() {
8   %tmp = volatile load i32* @g
9   ret void
10 }