summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug146.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug146.go')
-rw-r--r--test/fixedbugs/bug146.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fixedbugs/bug146.go b/test/fixedbugs/bug146.go
index 41a6d3afd9..bfb7529d6a 100644
--- a/test/fixedbugs/bug146.go
+++ b/test/fixedbugs/bug146.go
@@ -11,4 +11,5 @@ func main() {
a := [...]byte{ 0 };
b := Slice(&a); // This should be OK.
c := Slice(a); // ERROR "invalid|illegal|cannot"
+ _, _ = b, c;
}