mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +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
13 lines
310 B
LLVM
13 lines
310 B
LLVM
; RUN: llvm-as < %s -o /dev/null -f
|
|
|
|
|
|
|
|
|
|
int *%t1({ float, int }* %X) {
|
|
%W = getelementptr { float, int }* %X, int 20, uint 1
|
|
%X = getelementptr { float, int }* %X, uint 20, uint 1
|
|
%Y = getelementptr { float, int }* %X, long 20, uint 1
|
|
%Z = getelementptr { float, int }* %X, ulong 20, uint 1
|
|
ret int* %Y
|
|
}
|