2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -march=c | grep {\\* *volatile *\\*}
|
2005-09-28 04:52:30 +08:00
|
|
|
|
2008-02-19 09:41:04 +08:00
|
|
|
@G = external global void ()* ; <void ()**> [#uses=2]
|
2005-09-28 04:52:30 +08:00
|
|
|
|
2008-02-19 09:41:04 +08:00
|
|
|
define void @test() {
|
|
|
|
volatile store void ()* @test, void ()** @G
|
|
|
|
volatile load void ()** @G ; <void ()*>:1 [#uses=0]
|
|
|
|
ret void
|
2005-09-28 04:52:30 +08:00
|
|
|
}
|
2008-02-19 09:41:04 +08:00
|
|
|
|