1// RUN: not toyc-ch2 %s -emit=mlir 2>&1
2
3// The following IR is not "valid":
4// - toy.print should not return a value.
5// - toy.print should take an argument.
6// - There should be a block terminator.
7func @main() {
8  %0 = "toy.print"()  : () -> tensor<2x3xf64>
9}
10