// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// RESOLUTION: This program is illegal. We should reject all unnecessary backslashes.
+
package main
const c = '\''; // this works
/*
There is no reason why the escapes need to be different inside strings and chars.
-uetli:~/go/test/bugs gri$ 6g bug065.go
-bug065.go:6: unknown escape sequence: '
+uetli:~/go/test/bugs gri$ 6g bug068.go
+bug068.go:6: unknown escape sequence: '
*/
({<u><int32>INT32;<v><int32>INT32;})
BUG: compilation should succeed
-=========== bugs/bug068.go
-bugs/bug068.go:6: unknown escape sequence: '
-BUG: compilation should succeed
-
=========== bugs/bug074.go
bugs/bug074.go:6: illegal types for operand: CONV
(<string>*STRING)
=========== fixedbugs/bug067.go
ok
+=========== fixedbugs/bug068.go
+fixedbugs/bug068.go:8: unknown escape sequence: '
+
=========== fixedbugs/bug070.go
outer loop top k 0
inner loop top i 0