blob: 96acb3a2e32a30a9e5482dcfb711c5f045afc85c [file] [log] [blame]
// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Most of the errors below are actually produced by the parser, but we check
// them here for consistency with the types2 tests.
package p
import ; /* ERROR invalid import path */ /* ERROR expected 'STRING' */
import // ERROR expected ';'
var _ int
import /* ERROR expected declaration */ .;
import ()
import (.)
import (
"fmt"
.
)
var _ = fmt /* ERROR "undeclared name" */ .Println