Mercurial > hg > CbC > CbC_llvm
view mlir/test/Examples/Toy/Ch6/invalid.mlir @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | c4bab56944e8 |
line wrap: on
line source
// RUN: not toyc-ch6 %s -emit=mlir 2>&1 // The following IR is not "valid": // - toy.print should not return a value. // - toy.print should take an argument. // - There should be a block terminator. func @main() { %0 = "toy.print"() : () -> tensor<2x3xf64> }