Files
codeql/go/ql/integration-tests/go-mod-without-version/src/test.go
Cornelius Riemenschneider bfc6fee828 Go: Move all integration tests.
We no longer need the platform-specific directories,
so simplify the test organization.
If you want to retain the `linux` directory for two tests,
or not do this at all, just skip merging this PR.
It's purely optional.
2024-08-28 10:37:59 +02:00

15 lines
145 B
Go

package test
import (
"test/subdir"
"golang.org/x/net/ipv4"
)
func test() {
header := ipv4.Header{}
header.Version = subdir.Add(2, 2)
}