summaryrefslogtreecommitdiff
path: root/test/indirect1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/indirect1.go')
-rw-r--r--test/indirect1.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/indirect1.go b/test/indirect1.go
index e49eeb065..51da4cc7c 100644
--- a/test/indirect1.go
+++ b/test/indirect1.go
@@ -4,6 +4,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// Verify that illegal uses of indirection are caught by the compiler.
+// Does not compile.
+
package main
var m0 map[string]int