Skip to content

Commit dfddf8e

Browse files
Adapt invalid.mlir to properties syntax
1 parent 8beff28 commit dfddf8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Dialect/Torch/invalid.mlir

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ torch.class_type @c {
2525
}
2626
%c0 = torch.constant.int 0
2727
%0 = torch.nn_module {
28-
// expected-error @+1 {{'torch.slot' op is expected to match type and name of '"torch.attr"() {name = "g", type = !torch.int} : () -> ()}}
28+
// expected-error @+1 {{'torch.slot' op is expected to match type and name of '"torch.attr"() <{name = "g", type = !torch.int}> : () -> ()}}
2929
torch.slot "f", %c0 : !torch.int
3030
} : !torch.nn.Module<"c">
3131

0 commit comments

Comments
 (0)