You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
19
external/llvm/test/CodeGen/MIR/Generic/machine-function-missing-function.mir
vendored
Normal file
19
external/llvm/test/CodeGen/MIR/Generic/machine-function-missing-function.mir
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
||||
# This test ensures that an error is reported when the mir file has LLVM IR and
|
||||
# one of the machine functions has a name that doesn't match any function in
|
||||
# the LLVM IR.
|
||||
|
||||
--- |
|
||||
|
||||
define i32 @foo() {
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
...
|
||||
---
|
||||
name: foo
|
||||
...
|
||||
---
|
||||
# CHECK: function 'faa' isn't defined in the provided LLVM IR
|
||||
name: faa
|
||||
...
|
Reference in New Issue
Block a user