River Riddle 412b8850f6 [mlir][NFC] Update textual references of func to func.func in Bufferization/Complex/EmitC/CF/Func/GPU tests
The special case parsing of `func` operations is being removed.
2022-04-20 22:17:28 -07:00

20 lines
703 B
MLIR

// RUN: mlir-opt %s -split-input-file -verify-diagnostics
//===----------------------------------------------------------------------===//
// UnrealizedConversionCastOp
//===----------------------------------------------------------------------===//
// expected-error@+1 {{expected at least one result for cast operation}}
"builtin.unrealized_conversion_cast"() : () -> ()
// -----
//===----------------------------------------------------------------------===//
// VectorType
//===----------------------------------------------------------------------===//
// expected-error@+1 {{missing ']' closing set of scalable dimensions}}
func.func @scalable_vector_arg(%arg0: vector<[4xf32>) { }
// -----