aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encoding_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/encoding_test.go')
-rw-r--r--prog/encoding_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/prog/encoding_test.go b/prog/encoding_test.go
index 677375d7f..032ba2e42 100644
--- a/prog/encoding_test.go
+++ b/prog/encoding_test.go
@@ -273,6 +273,10 @@ func TestDeserialize(t *testing.T) {
Err: `wrong type *prog.IntType for AUTO`,
},
{
+ In: `test$bf2(&AUTO={AUTO, 0x10, 0x0})`,
+ Out: `test$bf2(&(0x7f0000000040)={0x8, 0x10, 0x0})`,
+ },
+ {
In: `test$str0(&AUTO="303100090a0d7022273a")`,
Out: `test$str0(&(0x7f0000000040)='01\x00\t\n\rp\"\':')`,
},