view test/Linker/pr22807.ll @ 146:3fc4d5c3e21e

set tail call flag for code segment in CGCAll
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:23:36 +0900
parents afa8332a0e37
children
line wrap: on
line source

; RUN: llvm-link -S -o - %p/pr22807.ll %p/Inputs/pr22807-1.ll %p/Inputs/pr22807-2.ll | FileCheck %s

; CHECK-NOT: type
; CHECK: %struct.B = type { %struct.A* }
; CHECK-NEXT: %struct.A = type { %struct.B* }
; CHECK-NOT: type

%struct.B = type { %struct.A* }
%struct.A = type opaque

define i32 @baz(%struct.B* %BB) {
  ret i32 0
}