mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
e5d4efa63e
older features will be dropped soon and these test cases must not rely on the upgrade capability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|