Test case for r105914.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105915 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2010-06-13 16:16:54 +00:00
parent c05cb8d561
commit c125fedcc7

View File

@ -31,3 +31,14 @@ entry:
; CHECK: call void @llvm.trap
; CHECK: unreachable
}
; PR7369
define void @test3() nounwind {
entry:
volatile store i32 4, i32* null
ret void
; CHECK: @test3
; CHECK: volatile store i32 4, i32* null
; CHECK: ret
}