Skip to content

Commit 83b1057

Browse files
committed
test parsing and printing quoted and escaped key in external_resources
1 parent f3930de commit 83b1057

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/test/IR/pretty-resources-print.mlir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// CHECK: {-#
1313
// CHECK-NEXT: external_resources: {
1414
// CHECK-NEXT: external: {
15-
// CHECK-NEXT: bool: true,
15+
// CHECK-NEXT: "backslash\\tab\09": true,
1616
// CHECK-NEXT: string: "\22string\22"
1717
// CHECK-NEXT: },
1818
// CHECK-NEXT: other_stuff: {
@@ -31,8 +31,8 @@
3131
external_resources: {
3232
external: {
3333
blob: "0x08000000010000000000000002000000000000000300000000000000",
34-
bool: true,
35-
string: "\"string\"" // with escape characters
34+
"backslash\\tab\09": true, // quoted key with escape characters
35+
string: "\"string\"" // string with escape characters
3636
},
3737
other_stuff: {
3838
bool: true

0 commit comments

Comments
 (0)