3 // Copyright 2019 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
9 // errors for the //line-adjusted code below
10 // ERROR "newline in string"
11 // ERROR "newline in character literal|newline in rune literal"
12 // ERROR "newline in string"
13 // ERROR "string not terminated"
20 0x // ERROR "hexadecimal literal has no digits"
24 0x1.0 // ERROR "hexadecimal mantissa requires a 'p' exponent"
28 0_i // ERROR "'_' must separate successive digits"