23 lines · plain
1// RUN: mlir-opt %s -split-input-file -verify-diagnostics2 3//===----------------------------------------------------------------------===//4// UnrealizedConversionCastOp5//===----------------------------------------------------------------------===//6 7// expected-error@+1 {{expected at least one result for cast operation}}8"builtin.unrealized_conversion_cast"() : () -> ()9 10// -----11 12//===----------------------------------------------------------------------===//13// VectorType14//===----------------------------------------------------------------------===//15 16// expected-error@+1 {{missing ']' closing scalable dimension}}17func.func @scalable_vector_arg(%arg0: vector<[4xf32>) { }18 19// -----20 21// expected-error@+1 {{missing ']' closing scalable dimension}}22func.func @scalable_vector_arg(%arg0: vector<[4x4]xf32>) { }23