mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
4572ce85b0
llvm-svn: 33296
10 lines
246 B
LLVM
10 lines
246 B
LLVM
; RUN: not llvm-as -f %s -o /dev/null
|
|
|
|
; This testcase is invalid because we are indexing into a pointer that is
|
|
; contained WITHIN a structure.
|
|
|
|
void %test({int, int*} * %X) {
|
|
getelementptr {int, int*} * %X, long 0, uint 1, long 0
|
|
ret void
|
|
}
|