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