summaryrefslogtreecommitdiff
path: root/test/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll
blob: 99de837dc79ae942c61024f159e2e1fa084756fa (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}