diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-02-19 21:13:41 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-02-19 21:48:20 +0100 |
| commit | a793204dd2d8384659b030af537f07da094dfda8 (patch) | |
| tree | f8c9fb4998f5edf6dae12623a175aadd3f1a6275 /prog | |
| parent | fc3afc716488d3003f1e39d74a8bba1ca8db0e13 (diff) | |
pkg/compiler: fix corner case in alignment calculation
Diffstat (limited to 'prog')
| -rw-r--r-- | prog/size_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/prog/size_test.go b/prog/size_test.go index 3b85d498a..bacc2c5e3 100644 --- a/prog/size_test.go +++ b/prog/size_test.go @@ -132,7 +132,11 @@ func TestAssignSize(t *testing.T) { }, { "syz_test$length24(&(0x7f0000000000)={{0x0, {0x0}}, {0x0, {0x0}}})", - "syz_test$length24(&(0x7f0000000000)={{0x0, {0x8}}, {0x0, {0xc}}})", + "syz_test$length24(&(0x7f0000000000)={{0x0, {0x8}}, {0x0, {0x10}}})", + }, + { + "syz_test$length26(&(0x7f0000000000), 0x0)", + "syz_test$length26(&(0x7f0000000000), 0x8)", }, } |
