brintos

brintos / llvm-project-archived public Read only

0
0
Text · 373 B · bc279a6 Raw
23 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 a machine function doesn't3# have a name attribute.4 5--- |6 7  define i32 @foo() {8    ret i32 09  }10 11  define i32 @bar() {12    ret i32 013  }14 15...16---17# CHECK: [[@LINE+1]]:1: missing required key 'name'18nme:             foo19...20---21name:            bar22...23