mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
379b92a59d
llvm-svn: 23474
11 lines
227 B
LLVM
11 lines
227 B
LLVM
; RUN: llvm-as < %s | llc -march=c &&
|
|
; RUN: llvm-as < %s | llc -march=c | grep '\* *volatile *\*'
|
|
|
|
%G = external global void()*
|
|
|
|
void %test() {
|
|
volatile store void()* %test, void()** %G
|
|
volatile load void()** %G
|
|
ret void
|
|
}
|