mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
aeb9bb8ba4
llvm-svn: 47296
11 lines
296 B
LLVM
11 lines
296 B
LLVM
; RUN: llvm-as < %s | llc -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
|
|
}
|
|
|