diff options
Diffstat (limited to 'src/cmd/go/testdata/script/embed_brackets.txt')
-rw-r--r-- | src/cmd/go/testdata/script/embed_brackets.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/embed_brackets.txt b/src/cmd/go/testdata/script/embed_brackets.txt new file mode 100644 index 0000000..ec17ff3 --- /dev/null +++ b/src/cmd/go/testdata/script/embed_brackets.txt @@ -0,0 +1,18 @@ +# issue 53314 +[GOOS:windows] skip +cd [pkg] +go build + +-- [pkg]/go.mod -- +module m + +go 1.19 +-- [pkg]/x.go -- +package p + +import _ "embed" + +//go:embed t.txt +var S string + +-- [pkg]//t.txt -- |