mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 22:00:58 +00:00
testcase for PR918
llvm-svn: 33253
This commit is contained in:
parent
06f52d3e1e
commit
a1adc3b364
@ -0,0 +1,11 @@
|
||||
; RUN: llvm-as < %s | llc -march=c | not grep fixarray_array3
|
||||
; PR918
|
||||
|
||||
%structtype_s = type { i32 }
|
||||
%fixarray_array3 = type [3 x %structtype_s]
|
||||
|
||||
define i32 %witness(%fixarray_array3* %p) {
|
||||
%q = getelementptr %fixarray_array3* %p, i32 0, i32 0, i32 0
|
||||
%v = load i32* %q
|
||||
ret i32 %v
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user