mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
d7170ea5a8
Some translations here are not 1x1 because there are grep|grep chains that are non-trivial to implement in terms of FileCheck features. I made an effort for the tests to remain as similar as possible; do let me know if you notice anything fishy. The good news are that some buggy tests were fixed (grep | not grep - a bug waiting to happen). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179102 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
434 B
LLVM
13 lines
434 B
LLVM
; RUN: llvm-as < %s > %t.bc
|
|
; RUN: llvm-as < %p/testlink1.ll > %t2.bc
|
|
; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc
|
|
; RUN: llvm-dis < %t1.bc | FileCheck %s
|
|
; CHECK: kallsyms_names = extern_weak
|
|
; CHECK: Inte = global i32
|
|
; CHECK: MyVar = external global i32
|
|
|
|
@kallsyms_names = extern_weak global [0 x i8] ; <[0 x i8]*> [#uses=0]
|
|
@MyVar = extern_weak global i32 ; <i32*> [#uses=0]
|
|
@Inte = extern_weak global i32 ; <i32*> [#uses=0]
|
|
|