Sign in
llvm
/
llvm-project
/
mlir
/
75d5b2189d4b500c64586ef7d734c3af1a7843b0
/
.
/
test
/
mlir-tblgen
/
constant-str-attr-invalid.mlir
blob: 1d0e62d5dec094f119220e393445a632d9fb625e [
file
] [
log
] [
blame
]
// RUN: mlir-opt -verify-diagnostics %s
// Test DefaultValuedAttr<StrAttr, ""> is recognized as "no default value"
test
.
no_str_value
{}
// expected-error {{'test.no_str_value' op requires attribute 'value'}}