forked from OSchip/llvm-project
new testcase the CBE creates invalid C code for
llvm-svn: 23474
This commit is contained in:
parent
16cd356fb2
commit
e338f05ba6
|
@ -0,0 +1,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
|
||||
}
|
Loading…
Reference in New Issue