You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
451 B
22 lines
451 B
4 months ago
|
; RUN: llvm-link %s -S -o - | FileCheck %s
|
||
|
|
||
|
@g1 = global void()* @f2
|
||
|
; CHECK-DAG: @g1 = global void ()* @f2
|
||
|
|
||
|
@p1 = global i8 42
|
||
|
; CHECK-DAG: @p1 = global i8 42
|
||
|
|
||
|
@p2 = internal global i8 43
|
||
|
; CHECK-DAG: @p2 = internal global i8 43
|
||
|
|
||
|
define void @f1() prologue i8* @p1 {
|
||
|
ret void
|
||
|
}
|
||
|
; CHECK-DAG: define void @f1() prologue i8* @p1 {
|
||
|
|
||
|
define internal void @f2() prologue i8* @p2 {
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
; CHECK-DAG: define internal void @f2() prologue i8* @p2 {
|