1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll
2009-09-09 00:09:15 +00:00

11 lines
286 B
LLVM

; RUN: llc < %s -march=c | grep {\\* *volatile *\\*}
@G = external global void ()* ; <void ()**> [#uses=2]
define void @test() {
volatile store void ()* @test, void ()** @G
volatile load void ()** @G ; <void ()*>:1 [#uses=0]
ret void
}