2008-02-19 09:41:04 +08:00
|
|
|
; RUN: llvm-as < %s | llc -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
|
|
|
|