blob: 2eaad23c4b0af7dde17c9ce33d437f7c8a2b5f91 [file] [log] [blame]
// Copyright 2022 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.
//go:build go1.20
// +build go1.20
package a
var (
// Okay directive wise but the compiler will complain that
// imports must appear before other declarations.
//go:embed embedText // ok
foo string
)
import (
"fmt"
_ "embed"
)
// This is main function
func main() {
fmt.Println(s)
}