2007-04-16 03:21:54 +08:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep {\\* *volatile *\\*}
|
2005-09-28 04:52:30 +08:00
|
|
|
|
|
|
|
%G = external global void()*
|
|
|
|
|
|
|
|
void %test() {
|
|
|
|
volatile store void()* %test, void()** %G
|
|
|
|
volatile load void()** %G
|
|
|
|
ret void
|
|
|
|
}
|