mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222921 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
531 B
LLVM
22 lines
531 B
LLVM
; RUN: llvm-link %p/opaque.ll %p/Inputs/opaque.ll -S -o - | FileCheck %s
|
|
|
|
; CHECK-DAG: %A = type {}
|
|
; CHECK-DAG: %B = type { %C, %C, %B* }
|
|
; CHECK-DAG: %B.1 = type { %D, %E, %B.1* }
|
|
; CHECK-DAG: %C = type { %A }
|
|
; CHECK-DAG: %D = type { %E }
|
|
; CHECK-DAG: %E = type opaque
|
|
|
|
; CHECK-DAG: @g1 = external global %B
|
|
; CHECK-DAG: @g2 = external global %A
|
|
; CHECK-DAG: @g3 = external global %B.1
|
|
|
|
; CHECK-DAG: getelementptr %A* null, i32 0
|
|
|
|
%A = type opaque
|
|
%B = type { %C, %C, %B* }
|
|
|
|
%C = type { %A }
|
|
|
|
@g1 = external global %B
|