view test/CodeGen/MIR/Generic/machine-function-missing-body.mir @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
line wrap: on
line source

# RUN: llc -run-pass none -o - %s | FileCheck %s
# This test ensures that the MIR parser accepts files with llvm IR but
# no machine function body.

--- |
  ; CHECK: define i32 @foo()
  define i32 @foo() {
    ret i32 0
  }

...
---
# CHECK: name: foo
name:            foo
...