1# RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s 2# This test ensures that an error is reported when a machine function doesn't 3# have a name attribute. 4 5--- | 6 7 define i32 @foo() { 8 ret i32 0 9 } 10 11 define i32 @bar() { 12 ret i32 0 13 } 14 15... 16--- 17# CHECK: [[@LINE+1]]:1: missing required key 'name' 18nme: foo 19body: | 20 bb.0: 21... 22--- 23name: bar 24body: | 25 bb.0: 26... 27