aboutsummaryrefslogtreecommitdiffstats
path: root/prog/mutation_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-01 11:23:45 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-06 17:40:49 +0100
commita8927abe6c1b5b5e11339ee5958ad2f365ad3067 (patch)
treee0d08c511a6ce206089e31d40281427d5f58d0b2 /prog/mutation_test.go
parent8a67aa70b05cbdf2dd5702f4c3ba302f2feba0cf (diff)
prog: support opt for proc types
Diffstat (limited to 'prog/mutation_test.go')
-rw-r--r--prog/mutation_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/prog/mutation_test.go b/prog/mutation_test.go
index 21f0261dd..97490a078 100644
--- a/prog/mutation_test.go
+++ b/prog/mutation_test.go
@@ -143,6 +143,12 @@ mutate7(&(0x7f0000000000)='123', 0x3)
`, `
mutate7(&(0x7f0000000000)='123', 0x2)
`},
+ // Mutate proc to the special value.
+ {`
+mutate8(0x2)
+`, `
+mutate8(0xffffffffffffffff)
+`},
}
for ti, test := range tests {
test := test