summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug143.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug143.go')
-rw-r--r--test/fixedbugs/bug143.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/fixedbugs/bug143.go b/test/fixedbugs/bug143.go
index af9607506..2f575fcfe 100644
--- a/test/fixedbugs/bug143.go
+++ b/test/fixedbugs/bug143.go
@@ -18,13 +18,16 @@ func main() {
mp := &m;
{
- x, ok := m["key"]
+ x, ok := m["key"];
+ _, _ = x, ok;
}
{
- x, ok := (*mp)["key"]
+ x, ok := (*mp)["key"];
+ _, _ = x, ok;
}
{
- x, ok := f()["key"]
+ x, ok := f()["key"];
+ _, _ = x, ok;
}
{
var x int;