You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
18
external/llvm/test/Linker/ctors.ll
vendored
18
external/llvm/test/Linker/ctors.ll
vendored
@ -1,18 +0,0 @@
|
||||
; RUN: llvm-link %s %p/Inputs/ctors.ll -S -o - | \
|
||||
; RUN: FileCheck --check-prefix=ALL --check-prefix=CHECK1 %s
|
||||
; RUN: llvm-link %p/Inputs/ctors.ll %s -S -o - | \
|
||||
; RUN: FileCheck --check-prefix=ALL --check-prefix=CHECK2 %s
|
||||
|
||||
; Test the bitcode writer too. It used to crash.
|
||||
; RUN: llvm-link %s %p/Inputs/ctors.ll -o %t.bc
|
||||
|
||||
@v = weak global i8 0
|
||||
; CHECK1: @v = weak global i8 0
|
||||
; CHECK2: @v = weak global i8 1
|
||||
|
||||
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @f, i8* @v }]
|
||||
; ALL: @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @f, i8* @v }]
|
||||
|
||||
define weak void @f() {
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user