mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
14 lines
232 B
LLVM
14 lines
232 B
LLVM
|
; RUN: llvm-link -S %s %p/Inputs/type-unique-name.ll | FileCheck %s
|
||
|
|
||
|
; Test that we keep the type name
|
||
|
; CHECK: %abc = type { i8 }
|
||
|
|
||
|
%abc = type opaque
|
||
|
|
||
|
declare %abc* @f()
|
||
|
|
||
|
define %abc* @g() {
|
||
|
%x = call %abc* @f()
|
||
|
ret %abc* %x
|
||
|
}
|