aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll
blob: 96223f2edf1e50b70fac00f152defba9addb9eab (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}