aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/typecheck/iimport.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2021-06-11 09:54:40 -0700
committerMatthew Dempsky <mdempsky@google.com>2021-06-12 14:36:25 +0000
commitdb7c868307c87c5e9338e1cb0b5738eb96a929ad (patch)
tree81da1a9d7ecf69fa79c907d7c6c5db754e1f7a57 /src/cmd/compile/internal/typecheck/iimport.go
parent0132b91127c3cf6e19e0e1db014a04219427171e (diff)
downloadgo-db7c868307c87c5e9338e1cb0b5738eb96a929ad.tar.gz
go-db7c868307c87c5e9338e1cb0b5738eb96a929ad.zip
[dev.typeparams] test: add string quoting support to test/run.go
This CL copies go/build's splitQuoted function (used for parsing #cgo directives within `import "C"` preambles) to parse test recipe commands. In particular, this now allows writing "build" and "run" tests that use -gcflags to pass multiple compiler flags. Change-Id: I0d18a9c13a4ce24bbdfa1da8662c0498c93a6762 Reviewed-on: https://go-review.googlesource.com/c/go/+/327275 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Diffstat (limited to 'src/cmd/compile/internal/typecheck/iimport.go')
0 files changed, 0 insertions, 0 deletions