You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
17
external/llvm/test/tools/llvm-modextract/single.ll
vendored
Normal file
17
external/llvm/test/tools/llvm-modextract/single.ll
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
; RUN: llvm-as -o %t %s
|
||||
; RUN: llvm-modextract -n 0 -o - %t | llvm-dis | FileCheck %s
|
||||
; RUN: not llvm-modextract -n 1 -o - %t 2>&1 | FileCheck --check-prefix=ERROR %s
|
||||
; RUN: llvm-modextract -b -n 0 -o - %t | llvm-dis | FileCheck %s
|
||||
; RUN: not llvm-modextract -b -n 1 -o - %t 2>&1 | FileCheck --check-prefix=ERROR %s
|
||||
|
||||
; RUN: llvm-modextract -n 0 -o %t0 %t
|
||||
; RUN: llvm-dis -o - %t0 | FileCheck %s
|
||||
; RUN: llvm-modextract -b -n 0 -o %t1 %t
|
||||
; RUN: llvm-dis -o - %t1 | FileCheck %s
|
||||
|
||||
; CHECK: define void @f()
|
||||
; ERROR: llvm-modextract: error: module index out of range; bitcode file contains 1 module(s)
|
||||
|
||||
define void @f() {
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user