Skip to content

Commit

Permalink
Adapt invalid.mlir to properties syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
stellaraccident committed Sep 11, 2023
1 parent 8beff28 commit dfddf8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Dialect/Torch/invalid.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ torch.class_type @c {
}
%c0 = torch.constant.int 0
%0 = torch.nn_module {
// expected-error @+1 {{'torch.slot' op is expected to match type and name of '"torch.attr"() {name = "g", type = !torch.int} : () -> ()}}
// expected-error @+1 {{'torch.slot' op is expected to match type and name of '"torch.attr"() <{name = "g", type = !torch.int}> : () -> ()}}
torch.slot "f", %c0 : !torch.int
} : !torch.nn.Module<"c">

Expand Down

0 comments on commit dfddf8e

Please sign in to comment.