new testcase the CBE creates invalid C code for

llvm-svn: 23474
This commit is contained in:
Chris Lattner 2005-09-27 20:52:30 +00:00
parent 16cd356fb2
commit e338f05ba6
1 changed files with 10 additions and 0 deletions

View File

@ -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
}