aboutsummaryrefslogtreecommitdiffstats
path: root/prog/size_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/size_test.go')
-rw-r--r--prog/size_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/prog/size_test.go b/prog/size_test.go
index 2f7dc9ce2..7db32442f 100644
--- a/prog/size_test.go
+++ b/prog/size_test.go
@@ -178,5 +178,13 @@ test$length30(&(0x7f0000000000)=ANY=[@ANYBLOB="11"], 0x42, &(0x7f0000000000)=0x4
In: "test$length34(&(0x7f0000000000)={[0x0, 0x0, 0x0, 0x0], &(0x7f0000000040)=@u1=0x0})",
Out: "test$length34(&(0x7f0000000000)={[0x0, 0x0, 0x0, 0x0], &(0x7f0000000040)=@u1=0x4})",
},
+ {
+ In: "test$length35(&(0x7f0000000000)={0x0, {0x5, @void}})",
+ Out: "test$length35(&(0x7f0000000000)={0x4, {0x5}})",
+ },
+ {
+ In: "test$length35(&(0x7f0000000000)={0x0, {0x1, @value=0x5}})",
+ Out: "test$length35(&(0x7f0000000000)={0x8, {0x1, @value=0x5}})",
+ },
})
}