summaryrefslogtreecommitdiff
path: root/test/char_lit1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/char_lit1.go')
-rw-r--r--test/char_lit1.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/char_lit1.go b/test/char_lit1.go
index 7684e0b0b..489744b6e 100644
--- a/test/char_lit1.go
+++ b/test/char_lit1.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 character literals are detected.
+// Does not compile.
+
package main
const (