summaryrefslogtreecommitdiff
path: root/test/complit1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/complit1.go')
-rw-r--r--test/complit1.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/complit1.go b/test/complit1.go
index d36864e61..521401d73 100644
--- a/test/complit1.go
+++ b/test/complit1.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 composite literals are detected.
+// Does not compile.
+
package main
var m map[int][3]int