brintos

brintos / llvm-project-archived public Read only

0
0
Text · 411 B · b218afd Raw
20 lines · plain
1# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# This test ensures that an error is reported when the mir file has LLVM IR and3# one of the machine functions has a name that doesn't match any function in4# the LLVM IR.5 6--- |7 8  define i32 @foo() {9    ret i32 010  }11 12...13---14name:            foo15...16---17# CHECK: function 'faa' isn't defined in the provided LLVM IR18name:            faa19...20